mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8229797: [JVMCI] Clean up no longer used JVMCI::dependencies_invalid value
Co-authored-by: Xiaohong Gong <xiaohong.gong@arm.com> Reviewed-by: dlong, coleenp
This commit is contained in:
parent
9d764ee48e
commit
6a48a4e5ed
6 changed files with 13 additions and 32 deletions
|
@ -1310,21 +1310,13 @@ JVMCI::CodeInstallResult JVMCIRuntime::validate_compile_task_dependencies(Depend
|
|||
return JVMCI::dependencies_failed;
|
||||
}
|
||||
|
||||
// Dependencies must be checked when the system dictionary changes
|
||||
// or if we don't know whether it has changed (i.e., compile_state == NULL).
|
||||
CompileTask* task = compile_state == NULL ? NULL : compile_state->task();
|
||||
Dependencies::DepType result = dependencies->validate_dependencies(task, failure_detail);
|
||||
if (result == Dependencies::end_marker) {
|
||||
return JVMCI::ok;
|
||||
}
|
||||
|
||||
if (!Dependencies::is_klass_type(result) || compile_state == NULL) {
|
||||
return JVMCI::dependencies_failed;
|
||||
}
|
||||
// The dependencies were invalid at the time of installation
|
||||
// without any intervening modification of the system
|
||||
// dictionary. That means they were invalidly constructed.
|
||||
return JVMCI::dependencies_invalid;
|
||||
return JVMCI::dependencies_failed;
|
||||
}
|
||||
|
||||
// Reports a pending exception and exits the VM.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue