mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8225388: Running jcmd Compiler.CodeHeap_Analytics all 0 cause crash
Reviewed-by: thartmann, sspitsyn
This commit is contained in:
parent
38204f9c65
commit
8c40b77cd8
10 changed files with 65 additions and 13 deletions
|
@ -310,7 +310,7 @@ void print_statistics() {
|
|||
// CodeHeap State Analytics.
|
||||
// Does also call NMethodSweeper::print(tty)
|
||||
if (PrintCodeHeapAnalytics) {
|
||||
CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
|
||||
CompileBroker::print_heapinfo(NULL, "all", 4096); // details
|
||||
} else if (PrintMethodFlushingStatistics) {
|
||||
NMethodSweeper::print(tty);
|
||||
}
|
||||
|
@ -378,7 +378,7 @@ void print_statistics() {
|
|||
// CodeHeap State Analytics.
|
||||
// Does also call NMethodSweeper::print(tty)
|
||||
if (PrintCodeHeapAnalytics) {
|
||||
CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
|
||||
CompileBroker::print_heapinfo(NULL, "all", 4096); // details
|
||||
} else if (PrintMethodFlushingStatistics) {
|
||||
NMethodSweeper::print(tty);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue