RFR: 8308000: add PopFrame support for virtual threads

Chris Plummer cjplummer at openjdk.org
Tue May 16 19:02:45 UTC 2023


On Tue, 16 May 2023 08:12:21 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

> This enhancement adds `PopFrame` support for virtual threads. The spec defines minimal support that the JVMTI `PopFrame` can be used for a virtual thread suspended an an event. 
> Actually, the `PopFrame` can supports suspended and mounted virtual threads. 
> 
> CSR (approved): https://bugs.openjdk.org/browse/JDK-8308001: add PopFrame support for virtual threads
> 
> Testing:
> New test was developed: `serviceability/vthread/PopFrameTest`.
> Submitted mach5 tiers 1-6 are good.
> TBD: rerun mach5 tiers 1-6 at the end of review again if necessary.

serviceability/jvmti/vthread/BoundVThreadTest/BoundVThreadTest.java and  serviceability/jvmti/vthread/VThreadUnsupportedTest/VThreadUnsupportedTest.java are failing with:

`PopFrame failed: expected JVMTI_ERROR_OPAQUE_FRAME instead of: 13`

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

PR Comment: https://git.openjdk.org/jdk/pull/14002#issuecomment-1550201332


More information about the hotspot-dev mailing list