mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8368698: runtime/cds/appcds/aotCache/OldClassSupport.java assert(can_add()) failed: Cannot add TrainingData objects
Reviewed-by: heidinga, iklam
This commit is contained in:
parent
db6320df98
commit
4df41d2a75
@ -328,7 +328,9 @@ void CompileTrainingData::notice_jit_observation(ciEnv* env, ciBaseObject* what)
|
||||
// This JIT task is (probably) requesting that ik be initialized,
|
||||
// so add him to my _init_deps list.
|
||||
TrainingDataLocker l;
|
||||
add_init_dep(ktd);
|
||||
if (l.can_add()) {
|
||||
add_init_dep(ktd);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user