src/share/vm/oops/klass.cpp

Print this page
rev 6316 : 8041723: Event Based tracing framework trace_id's to be reassigned for
CDS klasses
Reviewed-by:

*** 486,495 **** --- 486,496 ---- // Null out class_loader_data because we don't share that yet. set_class_loader_data(NULL); } void Klass::restore_unshareable_info(TRAPS) { + TRACE_INIT_ID(this); // If an exception happened during CDS restore, some of these fields may already be // set. We leave the class on the CLD list, even if incomplete so that we don't // modify the CLD list outside a safepoint. if (class_loader_data() == NULL) { ClassLoaderData* loader_data = ClassLoaderData::the_null_class_loader_data();