When running this test case from the Leyden repo on the JDK mainline:
https://github.com/openjdk/leyden/blob/1b9cb2509df2436e2ae19543f7a95876289d2aec/test/hotspot/jtreg/runtime/cds/appcds/leyden/ExcludedClasses.java
We have a crash (nullptr dereference) :
V [libjvm.so+0x707f79] get_type(Klass*)+0x69
V [libjvm.so+0x7092ee] ConstantPool::remove_resolved_klass_if_non_deterministic(int)+0x13e
V [libjvm.so+0x70c9bc] ConstantPool::remove_unshareable_entries()+0x1ec
V [libjvm.so+0x477878] ArchiveBuilder::make_klasses_shareable()+0x668
V [libjvm.so+0xd373fa] VM_PopulateDumpSharedSpace::doit()+0x18a
V [libjvm.so+0x1050a03] VM_Operation::evaluate()+0x103
V [libjvm.so+0x1053cac] VMThread::evaluate_operation(VM_Operation*)+0xbc
V [libjvm.so+0x1054903] VMThread::inner_execute(VM_Operation*)+0x313
V [libjvm.so+0x1054bd7] VMThread::run()+0xb7
V [libjvm.so+0xfbfbb8] Thread::call_run()+0xa8
V [libjvm.so+0xdc479b] thread_native_entry(Thread*)+0xdb
C [libc.so.6+0x9caa4]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000008
https://github.com/openjdk/leyden/blob/1b9cb2509df2436e2ae19543f7a95876289d2aec/test/hotspot/jtreg/runtime/cds/appcds/leyden/ExcludedClasses.java
We have a crash (nullptr dereference) :
V [libjvm.so+0x707f79] get_type(Klass*)+0x69
V [libjvm.so+0x7092ee] ConstantPool::remove_resolved_klass_if_non_deterministic(int)+0x13e
V [libjvm.so+0x70c9bc] ConstantPool::remove_unshareable_entries()+0x1ec
V [libjvm.so+0x477878] ArchiveBuilder::make_klasses_shareable()+0x668
V [libjvm.so+0xd373fa] VM_PopulateDumpSharedSpace::doit()+0x18a
V [libjvm.so+0x1050a03] VM_Operation::evaluate()+0x103
V [libjvm.so+0x1053cac] VMThread::evaluate_operation(VM_Operation*)+0xbc
V [libjvm.so+0x1054903] VMThread::inner_execute(VM_Operation*)+0x313
V [libjvm.so+0x1054bd7] VMThread::run()+0xb7
V [libjvm.so+0xfbfbb8] Thread::call_run()+0xa8
V [libjvm.so+0xdc479b] thread_native_entry(Thread*)+0xdb
C [libc.so.6+0x9caa4]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000008
- is blocked by
-
JDK-8357504 Refactor the assignment of loader bits in InstanceKlassFlags
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/84024695
-
Review(master) openjdk/jdk/25171