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

Chris Plummer cjplummer at openjdk.java.net
Wed Apr 28 22:10:50 UTC 2021


On Wed, 28 Apr 2021 21:48:15 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

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

Marked as reviewed by cjplummer (Reviewer).

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

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


More information about the serviceability-dev mailing list