mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8198691: CodeHeap State Analytics
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
9b9d9308ed
commit
b7cb1a07e4
14 changed files with 2832 additions and 19 deletions
|
@ -316,8 +316,13 @@ void print_statistics() {
|
|||
CodeCache::print();
|
||||
}
|
||||
|
||||
if (PrintMethodFlushingStatistics) {
|
||||
NMethodSweeper::print();
|
||||
// CodeHeap State Analytics.
|
||||
// Does also call NMethodSweeper::print(tty)
|
||||
LogTarget(Trace, codecache) lt;
|
||||
if (lt.is_enabled()) {
|
||||
CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
|
||||
} else if (PrintMethodFlushingStatistics) {
|
||||
NMethodSweeper::print(tty);
|
||||
}
|
||||
|
||||
if (PrintCodeCache2) {
|
||||
|
@ -379,8 +384,13 @@ void print_statistics() {
|
|||
CodeCache::print();
|
||||
}
|
||||
|
||||
if (PrintMethodFlushingStatistics) {
|
||||
NMethodSweeper::print();
|
||||
// CodeHeap State Analytics.
|
||||
// Does also call NMethodSweeper::print(tty)
|
||||
LogTarget(Trace, codecache) lt;
|
||||
if (lt.is_enabled()) {
|
||||
CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
|
||||
} else if (PrintMethodFlushingStatistics) {
|
||||
NMethodSweeper::print(tty);
|
||||
}
|
||||
|
||||
#ifdef COMPILER2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue