Skip to content

Commit 97b579b

Browse files
author
Yi-Fan Tsai
committed
Improve formatting
1 parent 0958332 commit 97b579b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/hotspot/share/code/codeCache.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,15 +1481,17 @@ void CodeCache::print() {
14811481
}
14821482

14831483
tty->print_cr("nmethod dependency checking time %fs", dependentCheckTime.seconds());
1484+
1485+
tty->print_cr("nmethod blobs per compilation level:");
14841486
for (int i = 0; i <= CompLevel_full_optimization; i++) {
14851487
const char *level_name;
14861488
switch (i) {
1487-
case CompLevel_none: level_name = "CompLevel_none"; break;
1488-
case CompLevel_simple: level_name = "CompLevel_simple"; break;
1489-
case CompLevel_limited_profile: level_name = "CompLevel_limited_profile"; break;
1490-
case CompLevel_full_profile: level_name = "CompLevel_full_profile"; break;
1491-
case CompLevel_full_optimization: level_name = "CompLevel_full_optimization"; break;
1492-
default: assert(false, "invalid compLevel");
1489+
case CompLevel_none: level_name = "none"; break;
1490+
case CompLevel_simple: level_name = "simple"; break;
1491+
case CompLevel_limited_profile: level_name = "limited profile"; break;
1492+
case CompLevel_full_profile: level_name = "full profile"; break;
1493+
case CompLevel_full_optimization: level_name = "full optimization"; break;
1494+
default: assert(false, "invalid compilation level");
14931495
}
14941496
tty->print_cr("%s:", level_name);
14951497
live[i].print("live");

0 commit comments

Comments
 (0)