RFR: 8308814: extend SetLocalXXX minimal support for virtual threads

Chris Plummer cjplummer at openjdk.org
Fri May 26 16:49:54 UTC 2023


On Thu, 25 May 2023 14:47:59 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

> Currently, the `SetLocalXXX` minimal support for virtual threads is defined for a virtual threads suspended at a breakpoint or single step event. This enhancement is to extend to virtual threads suspended any event. This make `SetLocalXXX` spec consistent with specs of the `StopThread`, `PopFrame` and `ForceEarlyReturnXXX`.
> 
> It does not look that any implementation update is needed as it is already supporting any suspended and mounted virtual thread which includes suspended at an event cases.
> 
> The CSR (already reviewed) is:
>   [8308815](https://bugs.openjdk.org/browse/JDK-8308815): extend `SetLocalXXX` minimal support for virtual threads

Does our implementation just require that the virtual thread be suspended and mounted, but not necessarily at an event? If so, do we have a test case for that?

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

PR Comment: https://git.openjdk.org/jdk/pull/14153#issuecomment-1564658599


More information about the hotspot-dev mailing list