RFR (XS): 8165681 ClassLoad and ClassPrepare JVMTI events are missed in the start phase
serguei.spitsyn at oracle.com
serguei.spitsyn at oracle.com
Mon Sep 12 01:15:55 UTC 2016
Please, review the one-liner fix for:
https://bugs.openjdk.java.net/browse/JDK-8165681
Webrev:
http://cr.openjdk.java.net/~sspitsyn/webrevs/2016/hotspot/8165681-jvmti-events.hs1/
Summary:
The JVMTI spec tells the ClassLoad and ClassPrepare events can be
send during start phase.
The new test below identified that they are missed because of this
bug in JVMTI.
The fix is to add the events to the set of the set of the
EARLY_EVENT_BITS.
Testing:
The following new test covers this issue:
test/serviceability/jvmti/ModuleAwareAgents/ClassLoadPrepare/VMEarly
They are developed as a part of the following test enhancement:
8150758 [TESTBUG] need jvmti tests for module aware agents
Additionally, the following tests were run:
nsk.jvmti, nsk,jdi, jtreg com/sun/jdi and java/lang/instrument
Thanks,
Serguei
More information about the hotspot-dev
mailing list