The following test failed in the JDK22 CI:
applications/renaissance/RenaissanceStressTest.java
Here's a snippet from the log file:
Output and diagnostic info for process 37434 was saved into 'pid-37434-output.log'
[2023-06-28T02:20:31.653792Z] Waiting for completion for process 37434
[2023-06-28T02:20:31.653843Z] Waiting for completion finished for process 37434
[stress.process.out] #
[stress.process.out] # A fatal error has been detected by the Java Runtime Environment:
[stress.process.out] #
[stress.process.out] # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S36460/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f4f9743e-fd03-4c88-8f48-68d8121d82ac/runs/68f5f509-b8a4-4ea5-8641-66c3cc687790/workspace/open/src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp:647), pid=37366, tid=86275
[stress.process.out] # assert(_class_unload ? true : ((((JfrTraceIdBits::load(class_loader_klass)) & ((1 << 4) << 8)) != 0))) failed: invariant
[stress.process.out] #
[stress.process.out] # JRE version: Java(TM) SE Runtime Environment (22.0+4) (fastdebug build 22-ea+4-216)
[stress.process.out] # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-ea+4-216, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
[stress.process.out] # Core dump will be written. Default location: core.37366
[stress.process.out] #
[stress.process.out] # JFR recording file will be written. Location: /System/Volumes/Data/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S66100/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba8afed-8f7c-4abc-9ad9-c21a91d24e8b/runs/5ca012f7-907a-4f31-ad80-4225e4872cbf/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_renaissance_RenaissanceStressTest_java/scratch/0/hs_err_pid37366.jfr
[stress.process.out] #
[stress.process.out] Unsupported internal testing APIs have been used.
[stress.process.out]
[stress.process.out] # An error report file with more information is saved as:
[stress.process.out] # /System/Volumes/Data/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S66100/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba8afed-8f7c-4abc-9ad9-c21a91d24e8b/runs/5ca012f7-907a-4f31-ad80-4225e4872cbf/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_renaissance_RenaissanceStressTest_java/scratch/0/hs_err_pid37366.log
[stress.process.out] [thread 25091 also had an error]
[stress.process.out] #
[stress.process.out] # If you would like to submit a bug report, please visit:
[stress.process.out] # https://bugreport.java.com/bugreport/crash.jsp
[stress.process.out] #
[2023-06-28T02:21:15.209292Z] Gathering output for process 37443
[2023-06-28T02:21:15.212148Z] Waiting for completion for process 37443
[2023-06-28T02:21:15.212379Z] Waiting for completion finished for process 37443
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000000139010a10): JavaThread "JFR Recorder Thread" daemon [_thread_in_vm, id=86275, stack(0x000000017a4dc000,0x000000017a6df000) (2060K)]
Stack: [0x000000017a4dc000,0x000000017a6df000], sp=0x000000017a6de860, free space=2058k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x13aeb70] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x4bc (jfrTypeSet.cpp:647)
V [libjvm.dylib+0x13af50c] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, char*)+0x40
V [libjvm.dylib+0x6b3110] report_vm_error(char const*, int, char const*, char const*, ...)+0x6c
V [libjvm.dylib+0xac98d8] write_classloader(JfrCheckpointWriter*, ClassLoaderData const*, bool)+0xa0
V [libjvm.dylib+0xac97f8] write__classloader(JfrCheckpointWriter*, void const*)+0x200
V [libjvm.dylib+0xacf904] CompositeFunctor<ClassLoaderData const*, JfrTypeWriterHost<JfrPredicatedTypeWriterImplHost<ClassLoaderData const*, LeakPredicate<ClassLoaderData const*>, &(write__classloader__leakp(JfrCheckpointWriter*, void const*))>, 179u>, JfrTypeWriterHost<JfrPredicatedTypeWriterImplHost<ClassLoaderData const*, SerializePredicate<ClassLoaderData const*>, &(write__classloader(JfrCheckpointWriter*, void const*))>, 179u> >::operator()(ClassLoaderData const* const&)+0x118
V [libjvm.dylib+0xacf958] JfrArtifactCallbackHost<ClassLoaderData const*, CompositeFunctor<ClassLoaderData const*, CompositeFunctor<ClassLoaderData const*, JfrTypeWriterHost<JfrPredicatedTypeWriterImplHost<ClassLoaderData const*, LeakPredicate<ClassLoaderData const*>, &(write__classloader__leakp(JfrCheckpointWriter*, void const*))>, 179u>, JfrTypeWriterHost<JfrPredicatedTypeWriterImplHost<ClassLoaderData const*, SerializePredicate<ClassLoaderData const*>, &(write__classloader(JfrCheckpointWriter*, void const*))>, 179u> >, ClearArtifact<ClassLoaderData const*> > >::do_artifact(void const*)+0x24
V [libjvm.dylib+0xacf6a4] CLDCallback::do_cld(ClassLoaderData*)+0x124
V [libjvm.dylib+0x5c0aa4] ClassLoaderDataGraph::loaded_cld_do(CLDClosure*)+0xc4
V [libjvm.dylib+0xacb24c] JfrTypeSet::serialize(JfrCheckpointWriter*, JfrCheckpointWriter*, bool, bool)+0xb5c
V [libjvm.dylib+0xa41dd4] JfrCheckpointManager::write_type_set()+0x134
V [libjvm.dylib+0xaa0174] JfrRecorderService::post_safepoint_write()+0xe0
V [libjvm.dylib+0xa9fbf0] JfrRecorderService::chunk_rotation()+0xe4
V [libjvm.dylib+0xa9f914] JfrRecorderService::rotate(int)+0x4c
V [libjvm.dylib+0xaa25ec] recorderthread_entry(JavaThread*, JavaThread*)+0x230
V [libjvm.dylib+0xa31820] JavaThread::thread_main_inner()+0x334
V [libjvm.dylib+0x12d9e98] Thread::call_run()+0x134
V [libjvm.dylib+0x103a4ec] thread_native_entry(Thread*)+0x160
C [libsystem_pthread.dylib+0x74ec] _pthread_start+0x94
applications/renaissance/RenaissanceStressTest.java
Here's a snippet from the log file:
Output and diagnostic info for process 37434 was saved into 'pid-37434-output.log'
[2023-06-28T02:20:31.653792Z] Waiting for completion for process 37434
[2023-06-28T02:20:31.653843Z] Waiting for completion finished for process 37434
[stress.process.out] #
[stress.process.out] # A fatal error has been detected by the Java Runtime Environment:
[stress.process.out] #
[stress.process.out] # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S36460/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f4f9743e-fd03-4c88-8f48-68d8121d82ac/runs/68f5f509-b8a4-4ea5-8641-66c3cc687790/workspace/open/src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp:647), pid=37366, tid=86275
[stress.process.out] # assert(_class_unload ? true : ((((JfrTraceIdBits::load(class_loader_klass)) & ((1 << 4) << 8)) != 0))) failed: invariant
[stress.process.out] #
[stress.process.out] # JRE version: Java(TM) SE Runtime Environment (22.0+4) (fastdebug build 22-ea+4-216)
[stress.process.out] # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-ea+4-216, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
[stress.process.out] # Core dump will be written. Default location: core.37366
[stress.process.out] #
[stress.process.out] # JFR recording file will be written. Location: /System/Volumes/Data/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S66100/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba8afed-8f7c-4abc-9ad9-c21a91d24e8b/runs/5ca012f7-907a-4f31-ad80-4225e4872cbf/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_renaissance_RenaissanceStressTest_java/scratch/0/hs_err_pid37366.jfr
[stress.process.out] #
[stress.process.out] Unsupported internal testing APIs have been used.
[stress.process.out]
[stress.process.out] # An error report file with more information is saved as:
[stress.process.out] # /System/Volumes/Data/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S66100/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba8afed-8f7c-4abc-9ad9-c21a91d24e8b/runs/5ca012f7-907a-4f31-ad80-4225e4872cbf/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_renaissance_RenaissanceStressTest_java/scratch/0/hs_err_pid37366.log
[stress.process.out] [thread 25091 also had an error]
[stress.process.out] #
[stress.process.out] # If you would like to submit a bug report, please visit:
[stress.process.out] # https://bugreport.java.com/bugreport/crash.jsp
[stress.process.out] #
[2023-06-28T02:21:15.209292Z] Gathering output for process 37443
[2023-06-28T02:21:15.212148Z] Waiting for completion for process 37443
[2023-06-28T02:21:15.212379Z] Waiting for completion finished for process 37443
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000000139010a10): JavaThread "JFR Recorder Thread" daemon [_thread_in_vm, id=86275, stack(0x000000017a4dc000,0x000000017a6df000) (2060K)]
Stack: [0x000000017a4dc000,0x000000017a6df000], sp=0x000000017a6de860, free space=2058k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x13aeb70] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x4bc (jfrTypeSet.cpp:647)
V [libjvm.dylib+0x13af50c] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, char*)+0x40
V [libjvm.dylib+0x6b3110] report_vm_error(char const*, int, char const*, char const*, ...)+0x6c
V [libjvm.dylib+0xac98d8] write_classloader(JfrCheckpointWriter*, ClassLoaderData const*, bool)+0xa0
V [libjvm.dylib+0xac97f8] write__classloader(JfrCheckpointWriter*, void const*)+0x200
V [libjvm.dylib+0xacf904] CompositeFunctor<ClassLoaderData const*, JfrTypeWriterHost<JfrPredicatedTypeWriterImplHost<ClassLoaderData const*, LeakPredicate<ClassLoaderData const*>, &(write__classloader__leakp(JfrCheckpointWriter*, void const*))>, 179u>, JfrTypeWriterHost<JfrPredicatedTypeWriterImplHost<ClassLoaderData const*, SerializePredicate<ClassLoaderData const*>, &(write__classloader(JfrCheckpointWriter*, void const*))>, 179u> >::operator()(ClassLoaderData const* const&)+0x118
V [libjvm.dylib+0xacf958] JfrArtifactCallbackHost<ClassLoaderData const*, CompositeFunctor<ClassLoaderData const*, CompositeFunctor<ClassLoaderData const*, JfrTypeWriterHost<JfrPredicatedTypeWriterImplHost<ClassLoaderData const*, LeakPredicate<ClassLoaderData const*>, &(write__classloader__leakp(JfrCheckpointWriter*, void const*))>, 179u>, JfrTypeWriterHost<JfrPredicatedTypeWriterImplHost<ClassLoaderData const*, SerializePredicate<ClassLoaderData const*>, &(write__classloader(JfrCheckpointWriter*, void const*))>, 179u> >, ClearArtifact<ClassLoaderData const*> > >::do_artifact(void const*)+0x24
V [libjvm.dylib+0xacf6a4] CLDCallback::do_cld(ClassLoaderData*)+0x124
V [libjvm.dylib+0x5c0aa4] ClassLoaderDataGraph::loaded_cld_do(CLDClosure*)+0xc4
V [libjvm.dylib+0xacb24c] JfrTypeSet::serialize(JfrCheckpointWriter*, JfrCheckpointWriter*, bool, bool)+0xb5c
V [libjvm.dylib+0xa41dd4] JfrCheckpointManager::write_type_set()+0x134
V [libjvm.dylib+0xaa0174] JfrRecorderService::post_safepoint_write()+0xe0
V [libjvm.dylib+0xa9fbf0] JfrRecorderService::chunk_rotation()+0xe4
V [libjvm.dylib+0xa9f914] JfrRecorderService::rotate(int)+0x4c
V [libjvm.dylib+0xaa25ec] recorderthread_entry(JavaThread*, JavaThread*)+0x230
V [libjvm.dylib+0xa31820] JavaThread::thread_main_inner()+0x334
V [libjvm.dylib+0x12d9e98] Thread::call_run()+0x134
V [libjvm.dylib+0x103a4ec] thread_native_entry(Thread*)+0x160
C [libsystem_pthread.dylib+0x74ec] _pthread_start+0x94
- relates to
-
JDK-8256291 RunThese30M fails "assert(_class_unload ? true : ((((JfrTraceIdBits::load(class_loader_klass)) & ((1 << 4) << 8)) != 0))) failed: invariant"
-
- Closed
-