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

Yi-Fan Tsai duke at openjdk.java.net
Tue Feb 22 18:44:54 UTC 2022


On Tue, 22 Feb 2022 18:05:28 GMT, Evgeny Astigeevich <duke at openjdk.java.net> wrote:

>> 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 1492:
> 
>> 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");
> 
> Could you please put 'level_name = ; break;' into separate lines? It should improve readability .

They're better aligned now though no separate lines were added.

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

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


More information about the hotspot-compiler-dev mailing list