RFR: 8316682: serviceability/jvmti/vthread/SelfSuspendDisablerTest timed out [v4]

Serguei Spitsyn sspitsyn at openjdk.org
Wed Apr 30 19:51:49 UTC 2025


On Thu, 10 Apr 2025 06:41:42 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> This fixes the issue with lack of synchronization between JVMTI thread suspend and resume functions in a self-suspend case. More detailed fix description is in the first PR comment.
>> 
>> Testing: Ran mach5 tiers 1-6.
>
> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review: added general comment about sync between suspend_thread and resume_thread

Hi Patricio,

Thank you for interesting analysis and suggestion! I think, it is worth to try.
In fact, I did not want to bring that much knowledge about the JVMTI suspension state to the `HandshakeState` level but maybe is the smallest price we can pay to avoid more complexity.
I'll try to go with the suggested changes, test them and then let you know the results.

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

PR Comment: https://git.openjdk.org/jdk/pull/24269#issuecomment-2843110235


More information about the hotspot-dev mailing list