Cross build arm32 and run with qemu:
sudo chroot /sysroot/armhf /tmp/build-armhf/images/jdk/bin/java --version
Here shows the error log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/tmp/jdk-src/src/hotspot/share/gc/shared/cardTableBarrierSet.hpp:95), pid=126850, tid=126852
# assert(UseSerialGC || UseParallelGC) failed: Only these GCs have constant card table base
#
# JRE version: (27.0) (fastdebug build )
# Java VM: OpenJDK Server VM (fastdebug 27-internal-git-88c8a55a433, mixed mode, compressed class ptrs, g1 gc, linux-arm)
# Problematic frame:
# V [libjvm.so+0x86a3aa] JavaThread::cache_global_variables()+0x5d
#
# Core dump will be written. Default location: Determined by the following: "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (alternatively, falling back to //core.126850)
sudo chroot /sysroot/armhf /tmp/build-armhf/images/jdk/bin/java --version
Here shows the error log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/tmp/jdk-src/src/hotspot/share/gc/shared/cardTableBarrierSet.hpp:95), pid=126850, tid=126852
# assert(UseSerialGC || UseParallelGC) failed: Only these GCs have constant card table base
#
# JRE version: (27.0) (fastdebug build )
# Java VM: OpenJDK Server VM (fastdebug 27-internal-git-88c8a55a433, mixed mode, compressed class ptrs, g1 gc, linux-arm)
# Problematic frame:
# V [libjvm.so+0x86a3aa] JavaThread::cache_global_variables()+0x5d
#
# Core dump will be written. Default location: Determined by the following: "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (alternatively, falling back to //core.126850)
- caused by
-
JDK-8373266 Strengthen constant CardTable base accesses
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk/29528