RFR: 8308400: add ForceEarlyReturn support for virtual threads [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Sat May 20 00:21:04 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.

Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:

  minor tweak in libForceEarlyReturnTest.cpp

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14067/files
  - new: https://git.openjdk.org/jdk/pull/14067/files/0425df62..498ae392

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14067&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14067&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 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