Skip to content

Commit

Permalink
report at production mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaiwei committed Oct 14, 2024
1 parent eb8c57e commit ebb49eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/hotspot/share/runtime/java.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ void print_statistics() {
}

if (CompilerOracle::should_collect_memstat()) {
CompilationMemoryStatistic::print_all_by_size(tty, false, 0);
CompilationMemoryStatistic::print_all_by_size(tty, true, 0);
}

ThreadsSMRSupport::log_statistics();
Expand Down Expand Up @@ -440,6 +440,10 @@ void print_statistics() {
Method::print_touched_methods(tty);
}

if (CompilerOracle::should_collect_memstat()) {
CompilationMemoryStatistic::print_all_by_size(tty, false, 0);
}

ThreadsSMRSupport::log_statistics();
}

Expand Down

0 comments on commit ebb49eb

Please sign in to comment.