JDK-8313438 : [s390x] build broken after JDK-8301996
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 22
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: s390x
  • Submitted: 2023-08-01
  • Updated: 2023-10-19
  • Resolved: 2023-10-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 22
22 b20Fixed
Related Reports
Relates :  
Relates :  
Description
s390x Implementation is missing for JDK-8301996, which breaks the build with error: 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/amit/infi/jdk/src/hotspot/share/interpreter/linkResolver.cpp:1380), pid=971780, tid=971785
#  assert(resolved_method->method_holder()->is_linked()) failed: must be linked
#
# JRE version:  (22.0) (fastdebug build )
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 22-internal-adhoc.amit.jdk, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-s390x)
# Problematic frame:
# V  [libjvm.so+0xdc04c0]  LinkResolver::runtime_resolve_virtual_method(CallInfo&, methodHandle const&, Klass*, Handle, Klass*, bool, JavaThread*)+0x4a8
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/amit/infi/jdk/make/core.971780)
#
# An error report file with more information is saved as:
Comments
Changeset: 79761519 Author: Amit Kumar <amitkumar@openjdk.org> Date: 2023-10-11 08:49:54 +0000 URL: https://git.openjdk.org/jdk/commit/79761519f68837e265bc943e926087806b68330e
11-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15885 Date: 2023-09-22 10:34:07 +0000
22-09-2023

JDK-8315940 will take care of build for ARM32; s390x implementation is still not fully cooked
09-09-2023

FYI: Also arm32 build crashes since this PR
08-08-2023

Thanks David, I wasn't aware of that.
01-08-2023

> # assert(resolved_method->method_holder()->is_linked()) failed: must be linked Just FYI this is the typical crash you get when trying to throw an exception before the VM is initialized enough to throw exceptions. -Xlog:exceptions can show you where things start to fail.
01-08-2023