RFR: 8373366: HandshakeState should disallow suspend ops for disabler threads [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Fri Dec 12 11:53:58 UTC 2025


On Thu, 11 Dec 2025 07:40:08 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> However, I think the it makes a sense to add regression test that tries to suspend thread while it processing event callback.

Right question, thanks. This issue came from testing of the PR https://github.com/openjdk/jdk/pull/28407 .
The issue appeared on the updated test:  `test/hotspot/jtreg/serviceability/jvmti/vthread/ThreadStateTest`.
Initially, I wanted to move the test update to this PR but encountered one more issue which needs to be addressed separately. So, I gave up on moving the test update.

> Can you please show where mounting/unmounting is disabled for jvmti events. i was unable to fines this place.

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

PR Comment: https://git.openjdk.org/jdk/pull/28740#issuecomment-3646170897


More information about the serviceability-dev mailing list