src/hotspot/share/oops/instanceKlass.cpp
changeset 57906 e17f768b3b71
parent 55254 36cb654a690f
child 58084 cddef3bde924
equal deleted inserted replaced
57905:55723932d06e 57906:e17f768b3b71
   944     // we might end up throwing IE from link/symbol resolution sites
   944     // we might end up throwing IE from link/symbol resolution sites
   945     // that aren't expected to throw.  This would wreak havoc.  See 6320309.
   945     // that aren't expected to throw.  This would wreak havoc.  See 6320309.
   946     while (is_being_initialized() && !is_reentrant_initialization(jt)) {
   946     while (is_being_initialized() && !is_reentrant_initialization(jt)) {
   947       wait = true;
   947       wait = true;
   948       jt->set_class_to_be_initialized(this);
   948       jt->set_class_to_be_initialized(this);
   949       ol.waitUninterruptibly(jt);
   949       ol.wait_uninterruptibly(jt);
   950       jt->set_class_to_be_initialized(NULL);
   950       jt->set_class_to_be_initialized(NULL);
   951     }
   951     }
   952 
   952 
   953     // Step 3
   953     // Step 3
   954     if (is_being_initialized() && is_reentrant_initialization(jt)) {
   954     if (is_being_initialized() && is_reentrant_initialization(jt)) {