JDK-8238153 : CTW: C2 (Shenandoah) compilation fails with "Unknown node in get_load_addr: CreateEx"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8-shenandoah,11-shenandoah,14,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-01-29
  • Updated: 2022-02-24
  • Resolved: 2020-01-29
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 14 JDK 15
14.0.1Fixed 15 b08Fixed
Related Reports
Relates :  
Relates :  
Description
$ cd test/hotspot/jtreg/testlibrary/ctw
$ make
$ cd dist
$ wget https://repo1.maven.org/maven2/org/jogamp/gluegen/gluegen/2.3.2/gluegen-2.3.2.jar
$ JAVA_OPTIONS="-XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC" ./ctw.sh gluegen-2.3.2.jar

#  Internal Error (/home/shade/trunks/jdk-jdk/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:1805), pid=32365, tid=32419
#  fatal error: Unknown node in get_load_addr: CreateEx
#
# JRE version: OpenJDK Runtime Environment (15.0) (fastdebug build 15-internal+0-adhoc.shade.jdk-jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 15-internal+0-adhoc.shade.jdk-jdk, mixed mode, sharing, tiered, compressed oops, shenandoah gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x1507d6d]  ShenandoahBarrierC2Support::get_load_addr(PhaseIdealLoop*, VectorSet&, Node*)+0x8d

Comments
Fix Request (14u) This eliminates a corner case assertion that might mask real issues. Patch applies cleanly to 14u, passes hotspot_gc_shenandoah. Risk is low, as it does what product bits would do anyway. The fix is contained in Shenandoah code.
19-02-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/eec468f180dd User: shade Date: 2020-01-29 13:35:07 +0000
29-01-2020