RFR: 8263572: Output from jstack mixed mode is misaligned [v2]

Koichi Sakata ksakata at openjdk.java.net
Tue Mar 16 06:25:07 UTC 2021


On Mon, 15 Mar 2021 19:15:09 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Koichi Sakata has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix calculation for the length of white space
>
> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/PStack.java line 172:
> 
>> 170:                          // print java frame(s)
>> 171:                          for (int i = 0; i < names.length; i++) {
>> 172:                              if (0 < i) {
> 
> Please use `i > 0`

Sure!

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

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


More information about the serviceability-dev mailing list