Mercurial > hg > graal-compiler
comparison src/share/vm/ci/ciEnv.cpp @ 2263:5841dc1964f0
7021531: lock ordering problems after fix for 6354181
Reviewed-by: kvn, jrose
author | never |
---|---|
date | Tue, 22 Feb 2011 15:26:36 -0800 |
parents | 4f26f535a225 |
children | 2ab52cda08e5 1d1603768966 |
comparison
equal
deleted
inserted
replaced
2262:6bbaedb03534 | 2263:5841dc1964f0 |
---|---|
411 } else { | 411 } else { |
412 fail_type = _unloaded_ciinstance_klass; | 412 fail_type = _unloaded_ciinstance_klass; |
413 } | 413 } |
414 KlassHandle found_klass; | 414 KlassHandle found_klass; |
415 { | 415 { |
416 ttyUnlocker ttyul; // release tty lock to avoid ordering problems | |
416 MutexLocker ml(Compile_lock); | 417 MutexLocker ml(Compile_lock); |
417 klassOop kls; | 418 klassOop kls; |
418 if (!require_local) { | 419 if (!require_local) { |
419 kls = SystemDictionary::find_constrained_instance_or_array_klass(sym, loader, | 420 kls = SystemDictionary::find_constrained_instance_or_array_klass(sym, loader, |
420 KILL_COMPILE_ON_FATAL_(fail_type)); | 421 KILL_COMPILE_ON_FATAL_(fail_type)); |