RFR: 8307865: Invalid is_in_any_VTMS_transition() check in post_dynamic_code_generated_while_holding_locks [v2]

Leonid Mesnik lmesnik at openjdk.org
Thu May 18 23:38:57 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

Leonid Mesnik has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - fixed comments
 - Merge branch 'master' of https://github.com/openjdk/jdk into 8307865
 - Merge branch 'master' of https://github.com/openjdk/jdk into 8307865
 - 8307865: Invalid is_in_any_VTMS_transition() check in post_dynamic_code_generated_while_holding_locks

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13921/files
  - new: https://git.openjdk.org/jdk/pull/13921/files/7f272622..b3887738

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13921&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13921&range=00-01

  Stats: 79870 lines in 1142 files changed: 65305 ins; 6097 del; 8468 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