aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/runtime/java.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/runtime/java.cpp')
-rw-r--r--src/share/vm/runtime/java.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/share/vm/runtime/java.cpp b/src/share/vm/runtime/java.cpp
index 874765fa3..e33e935fb 100644
--- a/src/share/vm/runtime/java.cpp
+++ b/src/share/vm/runtime/java.cpp
@@ -183,6 +183,7 @@ void print_method_profiling_data() {
collected_profiled_methods->sort(&compare_methods);
int count = collected_profiled_methods->length();
+ int total_size = 0;
if (count > 0) {
for (int index = 0; index < count; index++) {
Method* m = collected_profiled_methods->at(index);
@@ -190,10 +191,13 @@ void print_method_profiling_data() {
tty->print_cr("------------------------------------------------------------------------");
//m->print_name(tty);
m->print_invocation_count();
+ tty->print_cr(" mdo size: %d bytes", m->method_data()->size_in_bytes());
tty->cr();
m->print_codes();
+ total_size += m->method_data()->size_in_bytes();
}
tty->print_cr("------------------------------------------------------------------------");
+ tty->print_cr("Total MDO size: %d bytes", total_size);
}
}