hotspot/src/share/vm/runtime/java.cpp
changeset 24658 e41df2fc6e87
parent 24429 4efc66ee325c
child 24844 d1345c68cea9
equal deleted inserted replaced
24462:0676642e6560 24658:e41df2fc6e87
   118     collected_profiled_methods->push(m);
   118     collected_profiled_methods->push(m);
   119   }
   119   }
   120 }
   120 }
   121 
   121 
   122 void print_method_profiling_data() {
   122 void print_method_profiling_data() {
   123   if (ProfileInterpreter COMPILER1_PRESENT(|| C1UpdateMethodData)) {
   123   if (ProfileInterpreter COMPILER1_PRESENT(|| C1UpdateMethodData) &&
       
   124      (PrintMethodData || CompilerOracle::should_print_methods())) {
   124     ResourceMark rm;
   125     ResourceMark rm;
   125     HandleMark hm;
   126     HandleMark hm;
   126     collected_profiled_methods = new GrowableArray<Method*>(1024);
   127     collected_profiled_methods = new GrowableArray<Method*>(1024);
   127     ClassLoaderDataGraph::methods_do(collect_profiled_methods);
   128     ClassLoaderDataGraph::methods_do(collect_profiled_methods);
   128     collected_profiled_methods->sort(&compare_methods);
   129     collected_profiled_methods->sort(&compare_methods);