RFR: 8266002: vmTestbase/nsk/jvmti/ClassPrepare/classprep001 should skip events for unexpected classes [v3]

Alex Menkov amenkov at openjdk.java.net
Wed Apr 28 21:48:15 UTC 2021


> Class loading may cause loading of some other system/internal classes (for example loading of java.util.concurrent classes when an other thread loads some classes concurrently).
> The fix updates ClassPrepare test so it skip events for "unexpected" classes.
> Also it adds a testcase to verify that classes which are explicitly loaded on other thread do not generate ClassPrepare event on the test thread.

Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:

  fixed type in otherThread variable name

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3732/files
  - new: https://git.openjdk.java.net/jdk/pull/3732/files/4cebb5d6..9929298f

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3732&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3732&range=01-02

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3732.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3732/head:pull/3732

PR: https://git.openjdk.java.net/jdk/pull/3732


More information about the serviceability-dev mailing list