diff 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
line wrap: on
line diff
--- a/src/share/vm/ci/ciEnv.cpp	Wed Feb 09 15:02:23 2011 -0800
+++ b/src/share/vm/ci/ciEnv.cpp	Tue Feb 22 15:26:36 2011 -0800
@@ -413,6 +413,7 @@
   }
   KlassHandle found_klass;
   {
+    ttyUnlocker ttyul;  // release tty lock to avoid ordering problems
     MutexLocker ml(Compile_lock);
     klassOop kls;
     if (!require_local) {