mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8193323: Crash in "failed dependencies, but counter didn't change" with enabled UseJVMCICompiler
Reviewed-by: kvn
This commit is contained in:
parent
f1985b2e7e
commit
bfe4e0e4a2
2 changed files with 19 additions and 9 deletions
|
@ -761,6 +761,10 @@ C2V_END
|
|||
|
||||
C2V_VMENTRY(jboolean, isCompilable,(JNIEnv *, jobject, jobject jvmci_method))
|
||||
methodHandle method = CompilerToVM::asMethod(jvmci_method);
|
||||
// Skip redefined methods
|
||||
if (method->is_old()) {
|
||||
return false;
|
||||
}
|
||||
return !method->is_not_compilable(CompLevel_full_optimization);
|
||||
C2V_END
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue