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

Serguei Spitsyn sspitsyn at openjdk.java.net
Wed May 5 08:11:52 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

Hi Alex,
The fix looks good to me. The logics is more clear now.
Thanks,
Serguei

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

Marked as reviewed by sspitsyn (Reviewer).

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


More information about the serviceability-dev mailing list