RFR: 8307865: Invalid is_in_any_VTMS_transition() check in post_dynamic_code_generated_while_holding_locks

Leonid Mesnik lmesnik at openjdk.org
Thu May 11 01:09:43 UTC 2023


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

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

Commit messages:
 - 8307865: Invalid is_in_any_VTMS_transition() check in post_dynamic_code_generated_while_holding_locks

Changes: https://git.openjdk.org/jdk/pull/13921/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13921&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307865
  Stats: 18 lines in 3 files changed: 8 ins; 2 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/13921.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13921/head:pull/13921

PR: https://git.openjdk.org/jdk/pull/13921


More information about the hotspot-dev mailing list