JDK-8193882 : [MVT] coalesce.cpp:298 attempted to spill a non-spillable item
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: repo-valhalla
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2017-12-20
  • Updated: 2018-01-03
  • Resolved: 2018-01-03
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.
Other
repo-valhallaResolved
Related Reports
Duplicate :  
Description
compiler/valhalla/valuetypes/TestMethodHandles.java
compiler/valhalla/valuetypes/TestMinimalValueTypes.java

Example 1:

XX:CompileCommand=inline,java.lang.__Value::hashCode -XX:-OmitStackTraceInFastThrow compiler.valhalla.valuetypes.TestMethodHandles run ]
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/coalesce.cpp:298
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (.../workspace/open/src/hotspot/share/opto/coalesce.cpp:298), pid=14441, tid=14465
#  assert(false) failed: attempted to spill a non-spillable item: 1550: testN_mem_reg0, ireg = 13, spill_type: PhiInputSpillCopy

Example 2:

XX:CompileCommand=inline,java.lang.__Value::hashCode -XX:-OmitStackTraceInFastThrow compiler.valhalla.valuetypes.TestMinimalValueTypes run ]
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/coalesce.cpp:298
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (.../workspace/open/src/hotspot/share/opto/coalesce.cpp:298), pid=74542, tid=29699
#  assert(false) failed: attempted to spill a non-spillable item: 5666: testN_mem_reg0, ireg = 13, spill_type: PhiInputSpillCopy
Comments
Yes, this is a duplicate of JDK-8192992. Our value types tests trigger this more often because we are heavily using -XX:+AlwaysIncrementalInline.
03-01-2018

Look like this could well be: JDK-8192992
20-12-2017