RFR(XS): 8218947: jdb threads command should print threadID in decimal, not hex

David Holmes david.holmes at oracle.com
Thu Feb 14 04:36:29 UTC 2019


PS.

  return MessageOutput.format("object description and hex id",

Need to change the message too!

David

On 14/02/2019 2:32 pm, David Holmes wrote:
> Hi Chris,
> 
> On 14/02/2019 1:37 pm, Chris Plummer wrote:
>> Hi,
>>
>> Please review the following:
>>
>> http://cr.openjdk.java.net/~cjplummer/8218947/webrev
>> https://bugs.openjdk.java.net/browse/JDK-8218947
> 
> Are there times you may want to correlate those thread ids with ones in 
> other logs/tools that are in hex?
> 
> That aside:
> 
> java.lang.Long.toString
> 
> you don't need the java.lang part (it's always implicitly imported).
> 
> Thanks,
> David
> -----
> 
>> Tested by running the following on all supported platforms:
>>
>> open/test/hotspot/jtreg/vmTestbase/nsk/jdb
>> open/test/jdk/com/sun/jdi
>>
>> thanks,
>>
>> Chris


More information about the serviceability-dev mailing list