mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8275917: Some locks shouldn't allow_vm_block
Reviewed-by: dholmes, pchilanomate
This commit is contained in:
parent
7c996d572c
commit
bec977c778
3 changed files with 23 additions and 22 deletions
|
@ -1061,7 +1061,7 @@ void InstanceKlass::clean_initialization_error_table() {
|
|||
}
|
||||
};
|
||||
|
||||
MutexLocker ml(ClassInitError_lock);
|
||||
assert_locked_or_safepoint(ClassInitError_lock);
|
||||
InitErrorTableCleaner cleaner;
|
||||
_initialization_error_table.unlink(&cleaner);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue