Mercurial > hg > truffle
comparison src/share/vm/runtime/javaCalls.cpp @ 3837:43f9d800f276
7066339: Tiered: policy should make consistent decisions about osr levels
Summary: Added feedback disabling flag to common(), fixed handling of TieredStopAtLevel.
Reviewed-by: kvn, never
author | iveresov |
---|---|
date | Wed, 20 Jul 2011 18:04:17 -0700 |
parents | 01147d8aac1d |
children | f08d439fab8c |
comparison
equal
deleted
inserted
replaced
3808:341a57af9b0a | 3837:43f9d800f276 |
---|---|
353 | 353 |
354 | 354 |
355 assert(!thread->is_Compiler_thread(), "cannot compile from the compiler"); | 355 assert(!thread->is_Compiler_thread(), "cannot compile from the compiler"); |
356 if (CompilationPolicy::must_be_compiled(method)) { | 356 if (CompilationPolicy::must_be_compiled(method)) { |
357 CompileBroker::compile_method(method, InvocationEntryBci, | 357 CompileBroker::compile_method(method, InvocationEntryBci, |
358 CompLevel_initial_compile, | 358 CompilationPolicy::policy()->initial_compile_level(), |
359 methodHandle(), 0, "must_be_compiled", CHECK); | 359 methodHandle(), 0, "must_be_compiled", CHECK); |
360 } | 360 } |
361 | 361 |
362 // Since the call stub sets up like the interpreter we call the from_interpreted_entry | 362 // Since the call stub sets up like the interpreter we call the from_interpreted_entry |
363 // so we can go compiled via a i2c. Otherwise initial entry method will always | 363 // so we can go compiled via a i2c. Otherwise initial entry method will always |