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

David Holmes dholmes at openjdk.org
Mon Jul 11 22:58:34 UTC 2022


On Mon, 11 Jul 2022 09:22:59 GMT, Thomas Stuefe <stuefe 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.

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

Marked as reviewed by dholmes (Reviewer).

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


More information about the hotspot-runtime-dev mailing list