hotspot/src/share/vm/ci/ciEnv.cpp
changeset 8333 11a7f6fc6419
parent 8314 057b1c20fd7e
child 8921 14bfe81f2a9d
equal deleted inserted replaced
8332:3320859e937a 8333:11a7f6fc6419
   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));