comparison src/share/vm/jvmci/jvmciCompilerToVM.cpp @ 24224:3aed4cb813f4 jvmci-0.33

HotSpotResolvedJavaMethodImpl.hasNeverInlineDirective should respect Inline VM flag (JDK-8186235)
author Doug Simon <doug.simon@oracle.com>
date Fri, 18 Aug 2017 22:29:16 +0200
parents f98ea2d742a2
children 190f5f33b7d3
comparison
equal deleted inserted replaced
24223:1f8fa81f0c7d 24224:3aed4cb813f4
736 return !method->is_not_compilable(CompLevel_full_optimization); 736 return !method->is_not_compilable(CompLevel_full_optimization);
737 C2V_END 737 C2V_END
738 738
739 C2V_VMENTRY(jboolean, hasNeverInlineDirective,(JNIEnv *, jobject, jobject jvmci_method)) 739 C2V_VMENTRY(jboolean, hasNeverInlineDirective,(JNIEnv *, jobject, jobject jvmci_method))
740 methodHandle method = CompilerToVM::asMethod(jvmci_method); 740 methodHandle method = CompilerToVM::asMethod(jvmci_method);
741 return CompilerOracle::should_not_inline(method) || method->dont_inline(); 741 return !Inline || CompilerOracle::should_not_inline(method) || method->dont_inline();
742 C2V_END 742 C2V_END
743 743
744 C2V_VMENTRY(jboolean, shouldInlineMethod,(JNIEnv *, jobject, jobject jvmci_method)) 744 C2V_VMENTRY(jboolean, shouldInlineMethod,(JNIEnv *, jobject, jobject jvmci_method))
745 methodHandle method = CompilerToVM::asMethod(jvmci_method); 745 methodHandle method = CompilerToVM::asMethod(jvmci_method);
746 return CompilerOracle::should_inline(method) || method->force_inline(); 746 return CompilerOracle::should_inline(method) || method->force_inline();