[jdk21u-dev] RFR: 8320707: Virtual thread test updates

Aleksey Shipilev shade at openjdk.org
Tue Mar 5 16:03:51 UTC 2024


On Tue, 5 Mar 2024 12:29:13 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Test-only backport that simplifies Loom maintenance. The original commit applies cleanly, but it does not work out of the box, because `VThreadPinner` uses FFM, which is a preview feature in JDK 21, made final in JDK 22. I believe it is safe to rely on FFM for these tests, and the only thing we need to do is to add `@enablePreview` in relevant tests. See the additional commits on top that do it.
> 
> This would also make subsequent backports clean.
> 
> Additional testing:
>  - [x] MacOS AArch64 server fastdebug, `jdk_loom hotspot_loom`
>  - [ ] Linux x86_64 server fastdebug, `all`

GHA x86_32 tests are failing, I think we need #330 first.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/328#issuecomment-1979106313


More information about the jdk-updates-dev mailing list