< prev index next >

src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.cpp

Print this page

        

@@ -139,11 +139,11 @@
   package->set_trace_id(next_package_id());
 }
 
 void JfrTraceId::assign(const ClassLoaderData* cld) {
   assert(cld != NULL, "invariant");
-  if (cld->is_unsafe_anonymous()) {
+  if (cld->is_shortlived()) {
     cld->set_trace_id(0);
     return;
   }
   cld->set_trace_id(next_class_loader_data_id());
 }
< prev index next >