8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'

Always use MDO if valid and always compile trivial methods with C1 if available.

Reviewed-by: kvn, iveresov
This commit is contained in:
Tobias Hartmann 2014-11-11 11:05:41 +01:00
parent bdac822811
commit 00aa20db4a
8 changed files with 33 additions and 14 deletions

View file

@ -1134,7 +1134,7 @@ void MethodData::init() {
_tenure_traps = 0;
_num_loops = 0;
_num_blocks = 0;
_would_profile = true;
_would_profile = unknown;
#if INCLUDE_RTM_OPT
_rtm_state = NoRTM; // No RTM lock eliding by default