Details
-
Bug
-
Resolution: Unresolved
-
P2
-
8.1.0, 8.2.0
Description
Steps to reproduce the issue
Setup
- Build the JMC agent
Steps
- Run InstrumentedClass.java using JDK 11 with VM Argument --add-opens java.base/jdk.internal.misc=ALL-UNNAMED
- From JMC, Import events.xml (Window -> Agent Preset Manager)
- From JMC - JVM Browser -> Open JMC Agent Plugin window
- Browse agent.jar built as part of the setup above
- Browse events.xml
- Start Agent Plugin
- perform a flight recording of InstrumentedClass and verify from the resulting JFR, that the injected events are available in the JFR
- From the agent plugin page, click on load a preset ( ) and select the events.xml (No difference to the event definitions in the XML, this could be a negative scenario as well. but it can be extrapolated as probing from multiple JVM connections)
- JMC agent attempts to re-inject the events to the running JVM and it crashes.
Attached are
- Core dump of target JVM (ie InstrumentedClass) : hs_err_pid48451.log
- Terminal Log for InstrumentedClass : TerminalOutput.log
- JMC Log : JMC.log