RFR: 8340401: DcmdMBeanPermissionsTest.java and SystemDumpMapTest.java fail with assert(_stack_base != nullptr) failed: Sanity check

Kevin Walls kevinw at openjdk.org
Fri Sep 20 07:53:27 UTC 2024


On Thu, 19 Sep 2024 14:51:01 GMT, Simon Tooke <stooke at openjdk.org> wrote:

> This PR addresses JDK-8340401 by adding a test for a thread with no stack currently assigned.

Would be good to go ahead with this.
It seems on Windows that JavaThread with undefined stack base/size can be seen via JavaThreadIteratorWithHandle.
There may be more to investigate as to why this is happening, but guarding against it as a quick fix seems good as the failure is quite noisy.
I'm testing it too, will let you know if anything interesting happens.

Nothing interesting happened. Meaning, no crashes!

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

PR Comment: https://git.openjdk.org/jdk/pull/21091#issuecomment-2361589391
PR Comment: https://git.openjdk.org/jdk/pull/21091#issuecomment-2362105749


More information about the hotspot-runtime-dev mailing list