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

David Holmes dholmes at openjdk.org
Sat Sep 21 07:56:35 UTC 2024


On Fri, 20 Sep 2024 10:58:28 GMT, Thomas Stüfe <thomas.stuefe at gmail.com> wrote:

> I don't think this is limited to JavaThread

@tstuefe whether other kinds of thread iterators have potential issues with the state of the threads they may observe is not relevant to the question of whether the proposed check goes in the iteration loop or the HANDLE_THREAD macro - we don't process any GC threads with HANDLE_THREAD. The JavaThread iterator can return a thread that has not yet set its stack so the code using the iterator needs to deal with that if it might be an issue.

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

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


More information about the hotspot-runtime-dev mailing list