RFR: 8307865: Invalid is_in_any_VTMS_transition() check in post_dynamic_code_generated_while_holding_locks

Serguei Spitsyn sspitsyn at openjdk.org
Thu May 11 01:56:40 UTC 2023


On Thu, 11 May 2023 01:02:48 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> Method post_dynamic_code_generated_while_holding_locks()
> register stubs and might be called during VTMT transitions.
> At least it is called in tmp VTMT transition, and stubs might be generated during standard VTMT transition.
> 
> The method doesn't post event but just register stub for later posting so it might be called during transition.
> 
> Also, the test has been updated to test virtual threads. It crashed before fix and start passing after fix.
> Additionally, checked this test with Xcomp, run tier1/tier5 and some stress testing

Looks good.
Thanks,
Serguei

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13921#pullrequestreview-1421620114


More information about the serviceability-dev mailing list