Mercurial > hg > truffle
diff src/share/vm/runtime/compilationPolicy.cpp @ 3791:2c359f27615c
7057120: Tiered: Allow C1 to inline methods with loops
Summary: Recompile the enclosing methods without inlining of the method that has OSRed to level 4 or recompile the enclosing method at level 4.
Reviewed-by: kvn, never
author | iveresov |
---|---|
date | Fri, 01 Jul 2011 10:37:37 -0700 |
parents | e2eb7f986c64 |
children | 04b9a2566eec 20334ed5ed3c |
line wrap: on
line diff
--- a/src/share/vm/runtime/compilationPolicy.cpp Fri Jul 01 10:35:54 2011 -0700 +++ b/src/share/vm/runtime/compilationPolicy.cpp Fri Jul 01 10:37:37 2011 -0700 @@ -306,7 +306,7 @@ return (current >= initial + target); } -nmethod* NonTieredCompPolicy::event(methodHandle method, methodHandle inlinee, int branch_bci, int bci, CompLevel comp_level, TRAPS) { +nmethod* NonTieredCompPolicy::event(methodHandle method, methodHandle inlinee, int branch_bci, int bci, CompLevel comp_level, nmethod* nm, TRAPS) { assert(comp_level == CompLevel_none, "This should be only called from the interpreter"); NOT_PRODUCT(trace_frequency_counter_overflow(method, branch_bci, bci)); if (JvmtiExport::can_post_interpreter_events()) {