mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8212682: Avoid holding Compile_lock when blocking for GC in ObjArrayKlass::allocate_objArray_klass()
Reviewed-by: coleenp, dlong
This commit is contained in:
parent
041946dcb0
commit
8b1844626a
4 changed files with 1 additions and 6 deletions
|
@ -1282,7 +1282,6 @@ Klass* InstanceKlass::array_klass_impl(bool or_null, int n, TRAPS) {
|
|||
JavaThread *jt = (JavaThread *)THREAD;
|
||||
{
|
||||
// Atomic creation of array_klasses
|
||||
MutexLocker mc(Compile_lock, THREAD); // for vtables
|
||||
MutexLocker ma(MultiArray_lock, THREAD);
|
||||
|
||||
// Check if update has already taken place
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue