src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp
changeset 51444 3e5d28e6de32
parent 50122 d2bcbcf0d3d9
child 52334 a181612f0715
--- a/src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp	Mon Aug 20 10:04:00 2018 +0200
+++ b/src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp	Mon Aug 20 08:25:57 2018 -0400
@@ -96,7 +96,7 @@
 
 inline traceid JfrTraceId::use(const ClassLoaderData* cld, bool leakp /* false */) {
   assert(cld != NULL, "invariant");
-  return cld->is_anonymous() ? 0 : set_used_and_get_shifted(cld, leakp);
+  return cld->is_unsafe_anonymous() ? 0 : set_used_and_get_shifted(cld, leakp);
 }
 
 inline bool JfrTraceId::in_visible_set(const Klass* klass) {