mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8223332: Update JVMCI
Reviewed-by: never, dnsimon
This commit is contained in:
parent
29a4ad9a87
commit
72f082e925
30 changed files with 1038 additions and 345 deletions
|
@ -655,7 +655,7 @@ JRT_END
|
|||
|
||||
// private static JVMCIRuntime JVMCI.initializeRuntime()
|
||||
JVM_ENTRY_NO_ENV(jobject, JVM_GetJVMCIRuntime(JNIEnv *env, jclass c))
|
||||
JNI_JVMCIENV(env);
|
||||
JNI_JVMCIENV(thread, env);
|
||||
if (!EnableJVMCI) {
|
||||
JVMCI_THROW_MSG_NULL(InternalError, "JVMCI is not enabled");
|
||||
}
|
||||
|
@ -877,7 +877,7 @@ JVM_ENTRY_NO_ENV(void, JVM_RegisterJVMCINatives(JNIEnv *env, jclass c2vmClass))
|
|||
fatal("check TLAB allocation code for address space conflicts");
|
||||
#endif
|
||||
|
||||
JNI_JVMCIENV(env);
|
||||
JNI_JVMCIENV(thread, env);
|
||||
|
||||
if (!EnableJVMCI) {
|
||||
JVMCI_THROW_MSG(InternalError, "JVMCI is not enabled");
|
||||
|
@ -1353,6 +1353,10 @@ void JVMCIRuntime::compile_method(JVMCIEnv* JVMCIENV, JVMCICompiler* compiler, c
|
|||
compile_state->set_failure(true, "No OSR during boostrap");
|
||||
return;
|
||||
}
|
||||
if (JVMCI::shutdown_called()) {
|
||||
compile_state->set_failure(false, "Avoiding compilation during shutdown");
|
||||
return;
|
||||
}
|
||||
|
||||
HandleMark hm;
|
||||
JVMCIObject receiver = get_HotSpotJVMCIRuntime(JVMCIENV);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue