Currently, support for nmethod entry barriers (JDK-8210498) is missing on s390. Since JDK-8290025, this has lead to a build error--failing at BarrierSetNMethod::disarm
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/ty/openjdk/jdk-current/src/hotspot/cpu/s390/gc/shared/barrierSetNMethod_s390.cpp:34), pid=446585, tid=446664
# Error: ShouldNotReachHere()
#
# JRE version: OpenJDK Runtime Environment (20.0) (fastdebug build 20-internal-adhoc.ty.jdk-current)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 20-internal-adhoc.ty.jdk-current, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-s390x)
# Problematic frame:
# V [libjvm.so+0x397aa0] BarrierSetNMethod::disarm(nmethod*)+0x30