RFR: 8308400: add ForceEarlyReturn support for virtual threads

Serguei Spitsyn sspitsyn at openjdk.org
Sat May 20 00:15:22 UTC 2023


This enhancement adds ForceEarlyReturnXXX support for virtual threads. The spec defines minimal support that the JVMTI ForceEarlyReturnXXX can be used for a virtual thread suspended an an event.
Actually, the ForceEarlyReturnXXX can supports suspended and mounted virtual threads.

CSR (approved): https://bugs.openjdk.org/browse/JDK-8308401 add ForceEarlyReturn support for virtual threads

Testing:
New test was developed: serviceability/vthread/ForceEarlyReturnTest.
Submitted mach5 tiers 1-6 are good.
TBD: rerun mach5 tiers 1-6 at the end of review again if necessary.

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

Commit messages:
 - 8308400: add ForceEarlyReturn support for virtual threads

Changes: https://git.openjdk.org/jdk/pull/14067/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14067&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8308400
  Stats: 515 lines in 6 files changed: 488 ins; 19 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/14067.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14067/head:pull/14067

PR: https://git.openjdk.org/jdk/pull/14067


More information about the hotspot-dev mailing list