comparison src/hotspot/share/memory/metaspace.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 e0fd97beab7e
children 6ed72482de52
comparison
equal deleted inserted replaced
50:f5106fe4c3e2 51:1193b0858c4f
614 out->cr(); 614 out->cr();
615 out->print_cr("Usage per loader:"); 615 out->print_cr("Usage per loader:");
616 out->cr(); 616 out->cr();
617 } 617 }
618 618
619 ClassLoaderDataGraph::cld_do(&cl); // collect data and optionally print 619 ClassLoaderDataGraph::loaded_cld_do(&cl); // collect data and optionally print
620 620
621 // Print totals, broken up by space type. 621 // Print totals, broken up by space type.
622 if (print_by_spacetype) { 622 if (print_by_spacetype) {
623 out->cr(); 623 out->cr();
624 out->print_cr("Usage per space type:"); 624 out->print_cr("Usage per space type:");