RFR: 8316735: Print LockStack in hs_err files [v2]
Martin Doerr
mdoerr at openjdk.org
Mon Sep 25 11:58:47 UTC 2023
> Example output:
>
> Lock stack of current Java thread (top to bottom):
> LockStack[1]: nsk.share.jdi.EventHandler
> {0x00000000bcc28198} - klass: 'nsk/share/jdi/EventHandler'
> - ---- fields (total size 5 words):
> - private volatile 'wasInterrupted' 'Z' @12 false (0x00)
> - private 'debuggee' 'Lnsk/share/jdi/Debugee;' @16 a 'nsk/share/jdi/LocalLaunchedDebugee'{0x00000000bcc08c18} (0xbcc08c18)
> - private 'log' 'Lnsk/share/Log;' @20 a 'nsk/share/Log'{0x00000000bcc08cb0} (0xbcc08cb0)
> - private 'vm' 'Lcom/sun/jdi/VirtualMachine;' @24 a 'com/sun/tools/jdi/VirtualMachineImpl'{0x00000000bccb3d60} (0xbccb3d60)
> - private 'requestManager' 'Lcom/sun/jdi/request/EventRequestManager;' @28 a 'com/sun/tools/jdi/EventRequestManagerImpl'{0x00000000bccb56f8} (0xbccb56f8)
> - private 'listenThread' 'Ljava/lang/Thread;' @32 a 'java/lang/Thread'{0x00000000bcc280e8} (0xbcc280e8)
> LockStack[0]: java.util.Collections$SynchronizedRandomAccessList
> {0x00000000bcb163e8} - klass: 'java/util/Collections$SynchronizedRandomAccessList'
> - ---- fields (total size 3 words):
> - final 'c' 'Ljava/util/Collection;' @12 a 'java/util/Vector'{0x00000000bcb16400} (0xbcb16400)
> - final 'mutex' 'Ljava/lang/Object;' @16 a 'java/util/Collections$SynchronizedRandomAccessList'{0x00000000bcb163e8} (0xbcb163e8)
> - final 'list' 'Ljava/util/List;' @20 a 'java/util/Vector'{0x00000000bcb16400} (0xbcb16400)
Martin Doerr has updated the pull request incrementally with one additional commit since the last revision:
Move up and change wording.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15884/files
- new: https://git.openjdk.org/jdk/pull/15884/files/14e4d679..1373be38
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15884&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15884&range=00-01
Stats: 9 lines in 1 file changed: 5 ins; 4 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/15884.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15884/head:pull/15884
PR: https://git.openjdk.org/jdk/pull/15884
More information about the hotspot-dev
mailing list