JDK-8227034 : Graal crash with gcbasher
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,13
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-07-01
  • Updated: 2022-02-06
  • Resolved: 2019-07-09
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
11.0.8-oracleFixed 13 b29Fixed 14Fixed
Description
Intermittent crashes with gcbasher have been seen with Graal for a while.

https://java.se.oracle.com:10065/mdash/jobs/jesper-integ-graal-jdk-20190626-0050-3421545/tasks/jesper-integ-graal-jdk-20190626-0050-3421545-tier8-graal-open_test_hotspot_jtreg_hotspot_gc-macosx-x64-debug-1550/results?search=status%3Afailed%20AND%20-state%3Ainvalid

This appears to be a problem with incorrect register kills in the StringUTF16.compress intrinsic.
Comments
jdk11 backport I derefe the jdk11 backport of jvmci and graal related changes for now.
19-05-2020

URL: https://hg.openjdk.java.net/jdk/jdk13/rev/1831d28d34bb User: kvn Date: 2019-07-09 21:56:30 +0000
09-07-2019

https://cr.openjdk.java.net/~kvn/8227034/webrev.00/
09-07-2019

No. Lets fix it in JDK 13. It will be forward ported into JDK 14 automatically.
09-07-2019

May be following could be the next steps here ! - Change Fix Version here for 8227034 to 14, - close this as duplicate of 8226771 next Graal-Update - then create a new backport here for 13 and do as separate fix for 13 ?
05-07-2019

This should be fixed in JDK 13 as separate fix. We will not push any more 'Update Graal' into JDK 13. I see that the fix is already in upstream Graal: https://github.com/oracle/graal/commit/14b7ebd4f3f0ebc56ee33a091a8f860f3271f521
03-07-2019