RFR: 8345543: Test serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java failed: expected JVMTI_ERROR_OPAQUE_FRAME instead of: 0 [v2]

David Holmes dholmes at openjdk.org
Thu Jan 16 06:32:36 UTC 2025


On Thu, 16 Jan 2025 04:01:24 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

> Both JVMTI and DTRACE probes should not depend on the target thread to be in BLOCKED state. Moreover, JVMTI spec is clear that the event is posted when the target thread is about to wait on or is attempting to enter a monitor. 

That may be but you are changing long standing behaviour here and the affects of that are not at all obvious. Fix VTs by all means but please do not risk breaking regular threads. Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/23125#issuecomment-2594637188


More information about the hotspot-runtime-dev mailing list