RFR: 8309335: Get rid of use of reflection to call Thread.isVirtual() in nsk/jdi/EventRequestManager/stepRequests/stepreq001t.java [v2]

Chris Plummer cjplummer at openjdk.org
Mon Aug 14 19:13:28 UTC 2023


> 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.

Chris Plummer has updated the pull request incrementally with one additional commit since the last revision:

  Get rid of java.lang.reflect.Method import.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15275/files
  - new: https://git.openjdk.org/jdk/pull/15275/files/56f7cf6e..07e172f5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15275&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15275&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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


More information about the serviceability-dev mailing list