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

Serguei Spitsyn sspitsyn at openjdk.org
Fri Jun 17 08:32:49 UTC 2022


On Tue, 14 Jun 2022 08:02:21 GMT, Ron Pressler <rpressler at openjdk.org> wrote:

> 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

Looks good.
Thank you for investigating and fixing!
Serguei

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

Marked as reviewed by sspitsyn (Reviewer).

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


More information about the hotspot-runtime-dev mailing list