RFR: 8278053: serviceability/jvmti/vthread/ContStackDepthTest/ContStackDepthTest.java failing in loom repo with Xcomp [v2]

Ron Pressler rpressler at openjdk.org
Fri Jun 17 16:40:09 UTC 2022


> Please review the following fix.
> 
> When JVM TI puts a thread's state in `interp_only_mode`, thaw takes the slow path and deoptimizes frames as they're thawed in `recurse_thaw_compiled_frame`. However, thawing a deoptimized frame's callee will override the frame's patched pc (to the deopt handler), essentially reverting the deoptimization. This fix patches the deoptimized return address after thawing the callee.
> 
> Passes loom tiers 1-5

Ron Pressler has updated the pull request incrementally with two additional commits since the last revision:

 - Change comment.
 - Change comment

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

Changes:
  - all: https://git.openjdk.org/jdk19/pull/12/files
  - new: https://git.openjdk.org/jdk19/pull/12/files/c34a25ac..af57e33b

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

  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk19/pull/12.diff
  Fetch: git fetch https://git.openjdk.org/jdk19 pull/12/head:pull/12

PR: https://git.openjdk.org/jdk19/pull/12


More information about the hotspot-runtime-dev mailing list