7066339: Tiered: policy should make consistent decisions about osr levels

Added feedback disabling flag to common(), fixed handling of TieredStopAtLevel.

Reviewed-by: kvn, never
This commit is contained in:
Igor Veresov 2011-07-20 18:04:17 -07:00
parent 8acdd5ce55
commit aa89b8c08d
9 changed files with 101 additions and 110 deletions

View file

@ -355,7 +355,7 @@ void JavaCalls::call_helper(JavaValue* result, methodHandle* m, JavaCallArgument
assert(!thread->is_Compiler_thread(), "cannot compile from the compiler");
if (CompilationPolicy::must_be_compiled(method)) {
CompileBroker::compile_method(method, InvocationEntryBci,
CompLevel_initial_compile,
CompilationPolicy::policy()->initial_compile_level(),
methodHandle(), 0, "must_be_compiled", CHECK);
}