mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8174961: [JVMCI] incorrect implementation of isCompilable
Reviewed-by: kvn
This commit is contained in:
parent
96846a4105
commit
eb8d5435c2
2 changed files with 7 additions and 12 deletions
|
@ -735,9 +735,7 @@ C2V_END
|
|||
|
||||
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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue