On Fri, 10 Oct 2025 19:52:52 GMT, Chris Plummer <[email protected]> wrote:

> I applied the changes to AARCH64Frame.java and they seem to fix the issue 
> with the exception. I'm seeing two different stack traces (see below), and 
> neither is identical to your fixed stack trace. I don't see `<StubRoutines 
> (continuation stubs)>`. Instead I see a frame for 
> `jdk.internal.vm.Continuation.enterSpecial()`. Also, I don't see 
> `<StubRoutines (initial stubs)>` or any of the frames that come after it. 
> Maybe these are just expected platform differences.
>
These two different stack traces are expected and depend on whether the vthread 
was unmounted or not. With the current test this is timing dependent. You can 
run the test commenting out the `System.out.println` call, and then again 
replacing it with `Thread.yield()`. The string `<StubRoutines (continuation 
stubs)>` does look like from a previous version though. Even on x64 I see the 
`enterSpecial` frame printed out, and it matches what I would expect based on 
the patch.

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

PR Comment: https://git.openjdk.org/jdk/pull/27728#issuecomment-3392251835

Reply via email to