equal
deleted
inserted
replaced
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); |