8214526: Change CodeHeap State Analytics control from UL to Print*

Reviewed-by: coleenp, kvn, stuefe, thartmann
This commit is contained in:
Lutz Schmidt 2018-12-04 11:57:18 +01:00
parent 45628a358a
commit 8e05550ef3
4 changed files with 12 additions and 15 deletions

View file

@ -318,8 +318,7 @@ void print_statistics() {
// CodeHeap State Analytics.
// Does also call NMethodSweeper::print(tty)
LogTarget(Trace, codecache) lt;
if (lt.is_enabled()) {
if (PrintCodeHeapAnalytics) {
CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
} else if (PrintMethodFlushingStatistics) {
NMethodSweeper::print(tty);
@ -387,8 +386,7 @@ void print_statistics() {
// CodeHeap State Analytics.
// Does also call NMethodSweeper::print(tty)
LogTarget(Trace, codecache) lt;
if (lt.is_enabled()) {
if (PrintCodeHeapAnalytics) {
CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
} else if (PrintMethodFlushingStatistics) {
NMethodSweeper::print(tty);