if ((VM_RuntimeCompiler.options.getOptLevel() > value.getOptLevel())
if ((((com.ibm.jikesrvm.opt.OPT_Options)VM_RuntimeCompiler.options).getOptLevel() > value.getOptLevel())
  public static void compileAllMethods() {    //Collection allMethodsSet = attribMap.values();    Iterator it = VM_CompilerAdviceAttribute.getEntries();    VM.sysWriteln("Start precompile");    while (it.hasNext()) {      //while (allMethods.hasNext()) {      //VM.sysWriteln("checking one");      VM_CompilerAdviceAttribute value =        (VM_CompilerAdviceAttribute)it.next();      VM_TypeReference tRef = VM_TypeReference.findOrCreate(VM_ClassLoader.getApplicationClassLoader(), value.getClassName());      VM_Class cls = (VM_Class)tRef.peekResolvedType();      if (cls == null) {        try {          cls = tRef.resolve().asClass();          cls.resolve();          cls.instantiate();          cls.initialize();        } catch (NoClassDefFoundError cnf) {          VM.sysWriteln("Bad entry in the advice file");        }      }            if (cls != null) {        // Find the method        VM_Method method = cls.findDeclaredMethod(value.getMethodName(),value.getMethodSig());                // If found, compile it        if ((method != null) &&            ! method.hasNoOptCompilePragma() &&            (method instanceof com.ibm.jikesrvm.classloader.VM_NormalMethod)) {          // if user's requirement is higher than advice          if ((VM_RuntimeCompiler.options.getOptLevel() > value.getOptLevel())              || (VM_Controller.options.MAX_OPT_LEVEL < value.getOptLevel())) {            ((VM_NormalMethod)method).compile();          } else {            // otherwise, follow the advice...            // VM.sysWrite("Compiler advice for ");            // VM.sysWriteln(value.methodName);            OPT_CompilationPlan compPlan;            if (VM_Controller.options.counters()) {              // for invocation counter, we only use one optimization level              compPlan = VM_InvocationCounts.createCompilationPlan((VM_NormalMethod)method);              if (VM.LogAOSEvents) VM_AOSLogging.recompilationStarted(compPlan);               VM_RuntimeCompiler.recompileWithOpt(compPlan);              if (VM.LogAOSEvents) VM_AOSLogging.recompilationCompleted(compPlan);             } else if (VM_Controller.options.sampling()) {              // Create our set of standard optimization plans.              compPlan = VM_Controller.recompilationStrategy.createCompilationPlan((VM_NormalMethod)method, value.getOptLevel(), null);              if (VM.LogAOSEvents) VM_AOSLogging.recompilationStarted(compPlan);               VM_RuntimeCompiler.recompileWithOpt(compPlan);              if (VM.LogAOSEvents) VM_AOSLogging.recompilationCompleted(compPlan);             } else {              VM.sysWriteln("Compiler advice file is not followed  ");              ((VM_NormalMethod)method).compile();            }          }        }      }    }    if (VM.LogAOSEvents) VM_AOSLogging.compileAllMethodsCompleted();   }