< prev index next >

src/hotspot/share/oops/klass.cpp

Print this page

        

*** 562,577 **** // modify the CLD list outside a safepoint. if (class_loader_data() == NULL) { // Restore class_loader_data to the null class loader data set_class_loader_data(loader_data); - // Workaround for suspected bug. Make sure other threads see this assignment. - // This shouldn't be necessary but the compiler thread seems to be behind - // the times, even though this thread takes MethodCompileQueue_lock and the thread - // that doesn't see this value also takes that lock. - OrderAccess::fence(); - // Add to null class loader list first before creating the mirror // (same order as class file parsing) loader_data->add_class(this); } --- 562,571 ----
< prev index next >