JDK-8217918 : C2: -XX:+AggressiveUnboxing is broken
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8,10,11,12,13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-01-28
  • Updated: 2023-09-25
  • Resolved: 2019-02-02
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
11.0.12Fixed 13 b07Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Description
The following assert is hit with -XX:+AggressiveUnboxing:

#  Internal Error (/Users/vlivanov/ws/jdk/open/jdk/src/hotspot/share/opto/phaseX.cpp:482), pid=61750, tid=43267
#  assert(!n->is_Phi() || n->as_Phi()->inst_mem_id() == -1) failed: should not be linked to data Phi

Assert was added as part of JDK-8038348 (went into 7u/8u/9).
Comments
Fix Request [11u] Backport this to fix some bugs with -XX:+AggressiveUnboxing. Patch applies cleanly to 11u.Testing: Linux aarch64 tier1 and tier2 with/without -XX:+AggressiveUnboxing, Compiles with both slowdebug and release, no regressions observed(some test fails with -XX:+AggressiveUnboxing and slowdebug before patch; pass after)
22-04-2021

URL: http://hg.openjdk.java.net/jdk/jdk/rev/83b40a7bf00d User: vlivanov Date: 2019-02-02 03:04:36 +0000
02-02-2019