Mercurial > hg > graal-jvmci-8
changeset 24103:b48ccfe53101
8174961: [JVMCI] incorrect implementation of isCompilable
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 14 Feb 2017 21:13:43 +0100 |
parents | d1a869fb73c2 |
children | 01e71b55ff02 |
files | src/share/vm/jvmci/jvmciCompilerToVM.cpp |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCompilerToVM.cpp Tue Feb 14 11:10:26 2017 +0100 +++ b/src/share/vm/jvmci/jvmciCompilerToVM.cpp Tue Feb 14 21:13:43 2017 +0100 @@ -733,9 +733,7 @@ C2V_VMENTRY(jboolean, isCompilable,(JNIEnv *, jobject, jobject jvmci_method)) methodHandle method = CompilerToVM::asMethod(jvmci_method); - // Ignore the not_compilable flags in hosted mode since they are never set by - // the JVMCI compiler. - return UseJVMCICompiler || !method->is_not_compilable(CompLevel_full_optimization); + return !method->is_not_compilable(CompLevel_full_optimization); C2V_END C2V_VMENTRY(jboolean, hasNeverInlineDirective,(JNIEnv *, jobject, jobject jvmci_method))