JDK-8232083 : Minimal VM is broken after JDK-8231586
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11.0.9-oracle,14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2019-10-10
  • Updated: 2021-02-03
  • Resolved: 2019-10-25
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 11 JDK 13 JDK 14
11.0.9-oracleFixed 13.0.6Fixed 14 b21Fixed
Related Reports
Relates :  
Relates :  
Description
* Reproduce
-------------------------------------------
$ /home/fool/workspace/jdk-dev/build/linux-x86_64-minimal-release/jdk/bin/java -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (oopMap.cpp:316), pid=23398, tid=23400
#  Error: ShouldNotReachHere()
#
# JRE version: OpenJDK Runtime Environment (14.0) (build 14-internal+0-adhoc.fool.jdk-dev)
# Java VM: OpenJDK 64-Bit Minimal VM (14-internal+0-adhoc.fool.jdk-dev, mixed mode, serial gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x29f5de]
-------------------------------------------
Comments
Fix request (13u). I would like to backport the fix to jdk13u for parity with jdk11u. The original patch applied cleanly.
24-01-2021

Fix request (11u) -- will label after testing completed. I would like to downport this for parity with 11.0.9-oracle. I had to do a trivial resolve: http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-May/003192.html
28-05-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/3df2bf731a87 User: never Date: 2019-10-25 06:35:22 +0000
25-10-2019

RFR: https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2019-October/035378.html Thanks David for correcting me.
10-10-2019

It might be fixed by: --------------------------------- diff -r b4f2e13d20ea src/hotspot/share/compiler/oopMap.cpp --- a/src/hotspot/share/compiler/oopMap.cpp Wed Oct 09 19:38:11 2019 -0700 +++ b/src/hotspot/share/compiler/oopMap.cpp Thu Oct 10 12:58:48 2019 +0800 @@ -313,10 +313,12 @@ OopMapStream oms(map); if (!oms.is_done()) { #ifndef TIERED - COMPILER1_PRESENT(ShouldNotReachHere();) + omv = oms.current(); + bool is_derived_oop = omv.type() == OopMapValue::derived_oop_value; + COMPILER1_PRESENT(if (is_derived_oop) ShouldNotReachHere();) #if INCLUDE_JVMCI if (UseJVMCICompiler) { - ShouldNotReachHere(); + if (is_derived_oop) ShouldNotReachHere(); } #endif #endif // !TIERED ---------------------------------
10-10-2019