[jdk25u-dev] RFR: 8370905: Update vm.defmeth tests to use virtual threads

Roland Mesde duke at openjdk.org
Wed Feb 25 17:45:38 UTC 2026


Backporting JDK-8370905: Update vm.defmeth tests to use virtual threads.

This PR updates vm.defmeth stress tests to use TestThreadFactory.newThread() to enable virtual thread support when the test thread factory is configured.

For parity with Oracle JDK.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

make test TEST=test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/StressTest.java

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

Commit messages:
 - Backport 153c567a4d3a537277a8c599142511aa4f4f3ae3

Changes: https://git.openjdk.org/jdk25u-dev/pull/313/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=313&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8370905
  Stats: 13 lines in 1 file changed: 3 ins; 0 del; 10 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/313.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/313/head:pull/313

PR: https://git.openjdk.org/jdk25u-dev/pull/313


More information about the jdk-updates-dev mailing list