JDK-8244675 : assert(IncrementalInline || (_late_inlines.length() == 0 && !has_mh_late_inlines()))
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16,17,18,repo-panama
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-05-09
  • Updated: 2021-09-29
  • Resolved: 2021-09-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.
JDK 17 JDK 18
17.0.2Fixed 18 b14Fixed
Related Reports
Duplicate :  
Relates :  
Description
Almost all vector tests (jdk/incubator/vector/) crashed with
#  Internal Error (/home/katya/work/JavaSE/Hotspot/ws/jdk.panama-dev/open/src/hotspot/share/opto/compile.cpp:696), pid=8135, tid=8164
#  assert(IncrementalInline || (_late_inlines.length() == 0 && !has_mh_late_inlines())) failed: incremental inlining is off
#

when running with "-XX:-Inline" with fastdebug build.

Perhaps it is not very reasonable flag for Vector API (used to get more precise code coverage) but
it still should not result in crash.


Comments
Fix request (17u): The bug leads to an assert in C2 (regression in JDK 16). The fix is low risk and has been tested in the JDK 18 for a while and with tier1-3 in JDK 17u. The patch applies cleanly.
28-09-2021

Changeset: 28ba78e6 Author: Vladimir Ivanov <vlivanov@openjdk.org> Date: 2021-09-03 12:05:00 +0000 URL: https://git.openjdk.java.net/jdk/commit/28ba78e64721529fd764a7c09a7142a96c245f05
03-09-2021

It seems like Compile::should_delay_vector_inlining() or its caller should take the value of IncrementalInline into account.
29-07-2021

ILW = vector tests, debug builds only, don't use -XX:-Inline = MMM = P3
29-07-2021

To reproduce try to run for example: > jtreg -jdk:fastdebugBuild -vmoptions:-XX:-Inline -dir:open/test/jdk jdk/incubator/vector/Short64VectorTests.java
10-05-2020