No need to use reflection to call Thread.isVirtual().

Tested by running Tier5 CI (filtered to run just svc tests). This resulted in 
running this test with and without JTREG_TEST_THREAD_FACTORY=Virtual and also 
with a variety of GCs and platforms.

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

Commit messages:
 - No need to use reflection to call Thread.isVirtual()

Changes: https://git.openjdk.org/jdk/pull/15275/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15275&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309335
  Stats: 11 lines in 1 file changed: 0 ins; 9 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/15275.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15275/head:pull/15275

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

Reply via email to