diff src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp @ 53554:74109912c738

8213751: ClassLoaderDataGraph::cld_do() should sometimes require CLDG_lock Summary: Add version of loaded_cld_do for runtime calls. Reviewed-by: eosterlund, rehn
author coleenp
date Fri, 16 Nov 2018 07:30:40 -0500
parents db0c3952de52
children
line wrap: on
line diff
--- a/src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp	Thu Nov 15 17:08:59 2018 +0100
+++ b/src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp	Fri Nov 16 07:30:40 2018 -0500
@@ -939,7 +939,7 @@
     ClassLoaderDataGraph::cld_unloading_do(&cld_cb);
     return;
   }
-  ClassLoaderDataGraph::cld_do(&cld_cb);
+  ClassLoaderDataGraph::loaded_cld_do(&cld_cb);
 }
 
 static void clear_artifacts(JfrArtifactSet* artifacts,