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

Ron Pressler rpressler at openjdk.org
Tue Jun 21 16:53:09 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

This pull request has now been integrated.

Changeset: 97200a78
Author:    Ron Pressler <rpressler at openjdk.org>
Committer: Serguei Spitsyn <sspitsyn at openjdk.org>
URL:       https://git.openjdk.org/jdk19/commit/97200a78b176ccc8781acb67db2af2f62572d46a
Stats:     7 lines in 2 files changed: 4 ins; 3 del; 0 mod

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

Reviewed-by: sspitsyn, pchilanomate, coleenp

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

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


More information about the hotspot-runtime-dev mailing list