6658428: C2 doesn't inline java method if corresponding intrinsic failed to inline

Allow fallback to non-intrinsic inline case

Reviewed-by: kvn, jrose, never
This commit is contained in:
Nils Eliasson 2012-03-05 18:10:31 -08:00 committed by Tom Rodriguez
parent 2e8a110092
commit 36efb40d10
3 changed files with 31 additions and 24 deletions

View file

@ -631,7 +631,7 @@ class Compile : public Phase {
// Decide how to build a call.
// The profile factor is a discount to apply to this site's interp. profile.
CallGenerator* call_generator(ciMethod* call_method, int vtable_index, bool call_is_virtual, JVMState* jvms, bool allow_inline, float profile_factor);
CallGenerator* call_generator(ciMethod* call_method, int vtable_index, bool call_is_virtual, JVMState* jvms, bool allow_inline, float profile_factor, bool allow_intrinsics = true);
bool should_delay_inlining(ciMethod* call_method, JVMState* jvms);
// Report if there were too many traps at a current method and bci.