Integrated: 8266002: vmTestbase/nsk/jvmti/ClassPrepare/classprep001 should skip events for unexpected classes
Alex Menkov
amenkov at openjdk.java.net
Thu May 6 18:40:54 UTC 2021
On Tue, 27 Apr 2021 21:30:09 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.
This pull request has now been integrated.
Changeset: 0ca86da0
Author: Alex Menkov <amenkov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/0ca86da0e3563a8328f6ff2a3bc4d4c5b8a82e69
Stats: 81 lines in 2 files changed: 47 ins; 16 del; 18 mod
8266002: vmTestbase/nsk/jvmti/ClassPrepare/classprep001 should skip events for unexpected classes
Reviewed-by: cjplummer, sspitsyn
-------------
PR: https://git.openjdk.java.net/jdk/pull/3732
More information about the serviceability-dev
mailing list