mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8026985: Rewrite SystemDictionary::classes_do and Dictionary::classes_do to use KlassClosure
Actually remove unused functions like classes_do and methods_do. Reviewed-by: iveresov, sspitsyn, dholmes
This commit is contained in:
parent
221d948b51
commit
c52443f75b
17 changed files with 19 additions and 200 deletions
|
@ -112,7 +112,7 @@ void print_method_profiling_data() {
|
|||
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 @@ void print_method_invocation_histogram() {
|
|||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue