RFR: 8359870: JVM crashes in AccessInternal::PostRuntimeDispatch [v6]

Alan Bateman alanb at openjdk.org
Fri Jun 27 12:27:44 UTC 2025


On Fri, 27 Jun 2025 12:22:21 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

>> ThreadDumper/ThreadSnapshot need to handle a failure to resolve the native VM JavaThread from a java.lang.Thread.  This is hard to reproduce but a thread that has since terminated can provoke a crash.  Recognise this and return a null ThreadSnapshot.
>
> Kevin Walls has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Test requires: permit linux debug testing

test/jdk/com/sun/management/HotSpotDiagnosticMXBean/DumpThreadsWithEliminatedLock.java line 30:

> 28:  *     an object that is scalar replaced
> 29:  * @requires vm.compMode != "Xcomp"
> 30:  * @requires !vm.debug | (os.family == "linux")

Is this a left over from your local testing? There is nothing Linux specific here.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25958#discussion_r2171915162


More information about the serviceability-dev mailing list