RFR: JDK-8290067: Show stack dimensions in UL logging when attaching threads

Thomas Stuefe stuefe at openjdk.org
Mon Aug 1 08:07:37 UTC 2022


On Mon, 11 Jul 2022 22:55:29 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> While investigating [JDK-8290059](https://bugs.openjdk.org/browse/JDK-8290059), I found it useful to know the stack dimensions of the attaching thread. That should be added to the "Thread attached" log line.
>> 
>> Before:
>> 
>> 
>> [1.051s][info ][os,thread] Thread attached (tid: 167903, pthread id: 140230406712120.
>> 
>> 
>> Now:
>> 
>> 
>> [1.051s][info ][os,thread] Thread attached (tid: 167903, pthread id: 140230406712120, stack: 0x00007f89ef942a78 - 0x00007f89ef924000 (122k) ).
>
> Seems fine. 
> 
> Thanks.

Thanks @dholmes-ora and @MBaesken.

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

PR: https://git.openjdk.org/jdk/pull/9447


More information about the hotspot-runtime-dev mailing list