JDK-8237945 : CTW: C2 compilation fails with assert(just_allocated_object(alloc_ctl) == ptr) failed: most recent allo
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11.0.7,12,13,14,15
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-01-28
  • Updated: 2020-06-05
  • Resolved: 2020-02-13
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 JDK 15
11.0.7Fixed 13.0.4Fixed 14.0.2Fixed 15 b11Fixed
Description
$ cd test/hotspot/jtreg/testlibrary/ctw
$ make
$ cd dist
$ wget https://repo1.maven.org/maven2/westhawk/snmp/4_13/snmp-4_13.jar
$ ./ctw.sh snmp-4_13.jar

#  Internal Error (/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/library_call.cpp:4848), pid=29832, tid=29844
#  assert(just_allocated_object(alloc_ctl) == ptr) failed: most recent allo
#
# 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, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xfe9608]  LibraryCallKit::tightly_coupled_allocation(Node*, RegionNode*)+0x278
Comments
Fix request (13u): The original change applies cleanly, passes tier1,tier2,tier3 tests.
05-06-2020

Fix Request (JDK 14.0.2) The patch removes a too strong assert that might mask other real issues in testing and has already been backported to JDK 11u. The fix is low risk and applies cleanly to JDK 14.0.2. In addition to CI testing through all tiers in JDK 15 and 11u, additional testing will be executed in JDK 14.0.2 before pushing.
06-03-2020

Fix Request (11u) This patch removes too strong assert that might mask other real issues in testing. Patch applies cleanly to 11u, new test fails without the product fix, passes with it, tier{1,2,3} pass with the patch.
18-02-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/fb5425bcf04d User: chagedorn Date: 2020-02-13 14:49:40 +0000
13-02-2020