Mercurial > hg > truffle
diff src/share/vm/prims/methodHandles.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 | ddd894528dbc |
children | c26de9aef2ed |
line wrap: on
line diff
--- a/src/share/vm/prims/methodHandles.cpp Fri Jul 15 15:35:50 2011 -0700 +++ b/src/share/vm/prims/methodHandles.cpp Wed Jul 20 18:04:17 2011 -0700 @@ -1016,7 +1016,7 @@ && CompilationPolicy::can_be_compiled(m)) { // Force compilation CompileBroker::compile_method(m, InvocationEntryBci, - CompLevel_initial_compile, + CompilationPolicy::policy()->initial_compile_level(), methodHandle(), 0, "MethodHandleNatives.getTarget", CHECK_NULL); } @@ -2713,7 +2713,7 @@ && CompilationPolicy::can_be_compiled(m)) { // Force compilation CompileBroker::compile_method(m, InvocationEntryBci, - CompLevel_initial_compile, + CompilationPolicy::policy()->initial_compile_level(), methodHandle(), 0, "StressMethodHandleWalk", CHECK); }