comparison 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
comparison
equal deleted inserted replaced
3:5677538c23f5 4:b63b9c886f86
937 CLDCallback cld_cb(_class_unload); 937 CLDCallback cld_cb(_class_unload);
938 if (_class_unload) { 938 if (_class_unload) {
939 ClassLoaderDataGraph::cld_unloading_do(&cld_cb); 939 ClassLoaderDataGraph::cld_unloading_do(&cld_cb);
940 return; 940 return;
941 } 941 }
942 ClassLoaderDataGraph::cld_do(&cld_cb); 942 ClassLoaderDataGraph::loaded_cld_do(&cld_cb);
943 } 943 }
944 944
945 static void clear_artifacts(JfrArtifactSet* artifacts, 945 static void clear_artifacts(JfrArtifactSet* artifacts,
946 bool class_unload) { 946 bool class_unload) {
947 assert(artifacts != NULL, "invariant"); 947 assert(artifacts != NULL, "invariant");