mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
7021531: lock ordering problems after fix for 6354181
Reviewed-by: kvn, jrose
This commit is contained in:
parent
4b3ada699d
commit
8967db2c35
3 changed files with 30 additions and 0 deletions
|
@ -413,6 +413,7 @@ ciKlass* ciEnv::get_klass_by_name_impl(ciKlass* accessing_klass,
|
|||
}
|
||||
KlassHandle found_klass;
|
||||
{
|
||||
ttyUnlocker ttyul; // release tty lock to avoid ordering problems
|
||||
MutexLocker ml(Compile_lock);
|
||||
klassOop kls;
|
||||
if (!require_local) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue