hotspot/src/share/vm/runtime/java.cpp
changeset 46380 4a51438196cf
parent 46369 3bf4544bec14
child 46553 7030aea81558
--- a/hotspot/src/share/vm/runtime/java.cpp	Wed Apr 12 08:49:08 2017 +0200
+++ b/hotspot/src/share/vm/runtime/java.cpp	Wed Apr 12 08:02:29 2017 -0400
@@ -112,7 +112,7 @@
     ResourceMark rm;
     HandleMark hm;
     collected_profiled_methods = new GrowableArray<Method*>(1024);
-    ClassLoaderDataGraph::methods_do(collect_profiled_methods);
+    SystemDictionary::methods_do(collect_profiled_methods);
     collected_profiled_methods->sort(&compare_methods);
 
     int count = collected_profiled_methods->length();
@@ -163,7 +163,7 @@
   collected_invoked_methods->sort(&compare_methods);
   //
   tty->cr();
-  tty->print_cr("Histogram Over MethodOop Invocation Counters (cutoff = " INTX_FORMAT "):", MethodHistogramCutoff);
+  tty->print_cr("Histogram Over Method Invocation Counters (cutoff = " INTX_FORMAT "):", MethodHistogramCutoff);
   tty->cr();
   tty->print_cr("____Count_(I+C)____Method________________________Module_________________");
   unsigned total = 0, int_total = 0, comp_total = 0, static_total = 0, final_total = 0,