JDK-8205999 : C2 compilation fails with "assert(store->find_edge(load) != -1) failed: missing precedence edge"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,12
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-06-28
  • Updated: 2018-08-16
  • Resolved: 2018-07-04
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 12
11 b22Fixed 12Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/gcm.cpp:752
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/scratch/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S44/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73c530d8-82b4-41f2-bc69-70c2ae4acf2a/runs/c96bc70b-5c11-4097-9c29-a223ae774b2d/workspace/open/src/hotspot/share/opto/gcm.cpp:752), pid=30047, tid=30058
#  assert(store->find_edge(load) != -1) failed: missing precedence edge
#
# JRE version: Java(TM) SE Runtime Environment (11.0) (fastdebug build 11-internal+0-2018-06-28-1003187.tobias.hartmann.jdkjdk)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-internal+0-2018-06-28-1003187.tobias.hartmann.jdkjdk, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" (or dumping to /scratch/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S484/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1a8cac4b-84c8-474f-b315-865cbc86d179/runs/fd180da8-75f4-48d0-b84d-38dd556f384d/testoutput/jtreg/JTwork/scratch/0/core.30047)
#
Unsupported internal testing APIs have been used.

# An error report file with more information is saved as:
# /scratch/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S484/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1a8cac4b-84c8-474f-b315-865cbc86d179/runs/fd180da8-75f4-48d0-b84d-38dd556f384d/testoutput/jtreg/JTwork/scratch/0/hs_err_pid30047.log
#
# Compiler replay data is saved as:
# /scratch/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S484/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1a8cac4b-84c8-474f-b315-865cbc86d179/runs/fd180da8-75f4-48d0-b84d-38dd556f384d/testoutput/jtreg/JTwork/scratch/0/replay_pid30047.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Comments
The original sighting is for: vmTestbase/metaspace/staticReferences/StaticReferences.java Mikael's entry above is for: applications/runthese/RunThese30M.java And Gerard mentioned Java2Demo locally.
29-06-2018

Is this bug known to affect anything besides a tier3 test and Java2Demo?
29-06-2018

Hit the issue locally running Java2Demo.jar - attaching hs_err file.
29-06-2018

Tagged as 'promotion_blocker' since it looks like this bug was caused by JDK-8204157 which was pushed on 2018.06.27.
28-06-2018

This started failing after JDK-8204157 was pushed which modified gcm.cpp. Nils, can you please have a look?
28-06-2018

ILW = Crash during compilation, single test at tier3, disable compilation of affected method = HMM = P2
28-06-2018