-
Bug
-
Resolution: Fixed
-
P2
-
23
-
b20
-
x86_64
-
linux
-
Verified
The following test failed in the JDK23 CI:
applications/runthese/RunThese30M.java
Here's a snippet from the log file:
STATUS:Passed.test cases: 49; passed: 41; not applicable: 8
STATUS:Passed.test cases: 49; passed: 41; not applicable: 8
Iteration done: Jvmti at Fri Mar 29 14:30:45 UTC 2024
Stress module finished at [Fri Mar 29 14:30:46 UTC 2024]: Jvmti
Unexpected Exception in main().
java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class jdk.jfr.internal.MirrorEvents
at applications.kitchensink.process.stress.modules.StressModule.allJoin(StressModule.java:361)
at applications.kitchensink.process.stress.Main.run(Main.java:94)
at applications.kitchensink.process.stress.Main.main(Main.java:152)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class jdk.jfr.internal.MirrorEvents
at jdk.jfr/jdk.jfr.internal.MetadataRepository.findMirrorType(MetadataRepository.java:166)
at jdk.jfr/jdk.jfr.internal.MetadataRepository.register(MetadataRepository.java:151)
at jdk.jfr/jdk.jfr.internal.MetadataRepository.register(MetadataRepository.java:132)
at jdk.jfr/jdk.jfr.internal.SecuritySupport.lambda$registerEvent$2(SecuritySupport.java:334)
at jdk.jfr/jdk.jfr.internal.SecuritySupport$2.run(SecuritySupport.java:261)
at jdk.jfr/jdk.jfr.internal.SecuritySupport$2.run(SecuritySupport.java:258)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:461)
at jdk.jfr/jdk.jfr.internal.SecuritySupport.doPrivileged(SecuritySupport.java:258)
at jdk.jfr/jdk.jfr.internal.SecuritySupport.registerEvent(SecuritySupport.java:334)
at jdk.jfr/jdk.jfr.internal.instrument.JDKEvents.initialize(JDKEvents.java:118)
at jdk.jfr/jdk.jfr.internal.PlatformRecorder.<init>(PlatformRecorder.java:84)
at jdk.jfr/jdk.jfr.FlightRecorder.getFlightRecorder(FlightRecorder.java:172)
at jdk.jfr/jdk.jfr.Recording.<init>(Recording.java:107)
at jdk.jfr/jdk.jfr.Recording.<init>(Recording.java:131)
at jdk.jfr/jdk.jfr.consumer.RecordingStream.<init>(RecordingStream.java:108)
at jdk.jfr/jdk.jfr.consumer.RecordingStream.<init>(RecordingStream.java:101)
at applications.kitchensink.process.stress.modules.JfrStressModule.execute(JfrStressModule.java:233)
at applications.kitchensink.process.stress.modules.StressModule.run(StressModule.java:99)
at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.ClassCircularityError: jdk/jfr/events/SocketReadEvent [in thread "JfrStressModule"]
at jdk.jfr/jdk.jfr.internal.MirrorEvents.<clinit>(MirrorEvents.java:51)
at jdk.jfr/jdk.jfr.internal.EventInstrumentation.determineImplicitFields(EventInstrumentation.java:149)
at jdk.jfr/jdk.jfr.internal.EventInstrumentation.<init>(EventInstrumentation.java:132)
at jdk.jfr/jdk.jfr.internal.JVMUpcalls.bytesForEagerInstrumentation(JVMUpcalls.java:109)
at jdk.jfr/jdk.jfr.internal.instrument.JDKEvents.<clinit>(JDKEvents.java:61)
... 9 more
There are other errors in the log file for this run.
I'm starting this one off in hotspot/test so that [~lmesnik] can
take a look it at first.
applications/runthese/RunThese30M.java
Here's a snippet from the log file:
STATUS:Passed.test cases: 49; passed: 41; not applicable: 8
STATUS:Passed.test cases: 49; passed: 41; not applicable: 8
Iteration done: Jvmti at Fri Mar 29 14:30:45 UTC 2024
Stress module finished at [Fri Mar 29 14:30:46 UTC 2024]: Jvmti
Unexpected Exception in main().
java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class jdk.jfr.internal.MirrorEvents
at applications.kitchensink.process.stress.modules.StressModule.allJoin(StressModule.java:361)
at applications.kitchensink.process.stress.Main.run(Main.java:94)
at applications.kitchensink.process.stress.Main.main(Main.java:152)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class jdk.jfr.internal.MirrorEvents
at jdk.jfr/jdk.jfr.internal.MetadataRepository.findMirrorType(MetadataRepository.java:166)
at jdk.jfr/jdk.jfr.internal.MetadataRepository.register(MetadataRepository.java:151)
at jdk.jfr/jdk.jfr.internal.MetadataRepository.register(MetadataRepository.java:132)
at jdk.jfr/jdk.jfr.internal.SecuritySupport.lambda$registerEvent$2(SecuritySupport.java:334)
at jdk.jfr/jdk.jfr.internal.SecuritySupport$2.run(SecuritySupport.java:261)
at jdk.jfr/jdk.jfr.internal.SecuritySupport$2.run(SecuritySupport.java:258)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:461)
at jdk.jfr/jdk.jfr.internal.SecuritySupport.doPrivileged(SecuritySupport.java:258)
at jdk.jfr/jdk.jfr.internal.SecuritySupport.registerEvent(SecuritySupport.java:334)
at jdk.jfr/jdk.jfr.internal.instrument.JDKEvents.initialize(JDKEvents.java:118)
at jdk.jfr/jdk.jfr.internal.PlatformRecorder.<init>(PlatformRecorder.java:84)
at jdk.jfr/jdk.jfr.FlightRecorder.getFlightRecorder(FlightRecorder.java:172)
at jdk.jfr/jdk.jfr.Recording.<init>(Recording.java:107)
at jdk.jfr/jdk.jfr.Recording.<init>(Recording.java:131)
at jdk.jfr/jdk.jfr.consumer.RecordingStream.<init>(RecordingStream.java:108)
at jdk.jfr/jdk.jfr.consumer.RecordingStream.<init>(RecordingStream.java:101)
at applications.kitchensink.process.stress.modules.JfrStressModule.execute(JfrStressModule.java:233)
at applications.kitchensink.process.stress.modules.StressModule.run(StressModule.java:99)
at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.ClassCircularityError: jdk/jfr/events/SocketReadEvent [in thread "JfrStressModule"]
at jdk.jfr/jdk.jfr.internal.MirrorEvents.<clinit>(MirrorEvents.java:51)
at jdk.jfr/jdk.jfr.internal.EventInstrumentation.determineImplicitFields(EventInstrumentation.java:149)
at jdk.jfr/jdk.jfr.internal.EventInstrumentation.<init>(EventInstrumentation.java:132)
at jdk.jfr/jdk.jfr.internal.JVMUpcalls.bytesForEagerInstrumentation(JVMUpcalls.java:109)
at jdk.jfr/jdk.jfr.internal.instrument.JDKEvents.<clinit>(JDKEvents.java:61)
... 9 more
There are other errors in the log file for this run.
I'm starting this one off in hotspot/test so that [~lmesnik] can
take a look it at first.