RFR: 8373127: Update nsk/monitoring tests to support virtual thread factory testing

Leonid Mesnik lmesnik at openjdk.org
Fri Dec 5 06:40:23 UTC 2025


Please review following fix that adjust expected results for nsk/monitoring tests if they are executed with virtual threads or mark them as incompatible.

The ThreadInfo is not returned for virtual threads and some bean functions return -1.

Tested by running nsk/monitoring with JTREG_TEST_THREAD_FACTORY=Virtual

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

Commit messages:
 - 8373127: Update nsk/monitoring tests to support virtual thread factory testing

Changes: https://git.openjdk.org/jdk/pull/28673/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28673&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373127
  Stats: 75 lines in 7 files changed: 47 ins; 0 del; 28 mod
  Patch: https://git.openjdk.org/jdk/pull/28673.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28673/head:pull/28673

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


More information about the serviceability-dev mailing list