RFR: 8005885: enhance PrintCodeCache to print more data [v3]

Paul Hohensee phh at openjdk.java.net
Tue Feb 22 18:29:55 UTC 2022


On Tue, 22 Feb 2022 17:38:17 GMT, Yi-Fan Tsai <duke at openjdk.java.net> wrote:

>> 8005885: enhance PrintCodeCache to print more data
>
> Yi-Fan Tsai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add back percentage and change descriptions

src/hotspot/share/code/codeCache.cpp line 1487:

> 1485:     const char *level_name;
> 1486:     switch (i) {
> 1487:     case CompLevel_none: level_name = "CompLevel_none"; break;

It would be less verbose if you removed the "CompLevel_" prefix and the underscores in the name strings. I.e., "none", "simple", "limited profile", "full profile", "full optimization".

-------------

PR: https://git.openjdk.java.net/jdk/pull/7389


More information about the hotspot-compiler-dev mailing list