bbanathu-mac:Desktop bbanathu$ /Library/Java/JavaVirtualMachines/jdk-11.0.12.jdk/Contents/Home/bin/javac InstrumentedClass.java bbanathu-mac:Desktop bbanathu$ /Library/Java/JavaVirtualMachines/jdk-11.0.12.jdk/Contents/Home/bin/java --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED xyz.pqrs.abcd.InstrumentedClass . . . . . . . . . . . . . . . . Jul 27, 2021 4:29:33 PM org.openjdk.jmc.agent.Agent printVersion INFO: JMC BCI agent v1.0.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Jul 27, 2021 4:32:25 PM org.openjdk.jmc.agent.impl.DefaultTransformRegistry modify INFO: __JFREvent true true Instrumentation on Method Entry xyz.pqrs.abcd.InstrumentedClass InstrumentedEvents/OnEntry true false ENTRY onEntry ()V Instrumentation on Method Exit xyz.pqrs.abcd.InstrumentedClass InstrumentedEvents/OnExit true false EXIT onExit ()V Wrapped Method with Instrumentation xyz.pqrs.abcd.InstrumentedClass InstrumentedEvents/WrapMethod true false WRAP wrapMe ()V # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00000001063f5bf5, pid=48451, tid=26883 # # JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.12+7) (build 11.0.12+7-LTS-236) # Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.12+7-LTS-236, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64) # Problematic frame: # V [libjvm.dylib+0x3aebf5] JfrEventClassTransformer::on_klass_creation(InstanceKlass*&, ClassFileParser&, Thread*)+0x265 # # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /Users/bbanathu/Desktop/hs_err_pid48451.log # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # Abort trap: 6