JDK-8235829 : graal crashes with Zombie.java test
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 14
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-12-12
  • Updated: 2022-05-27
  • Resolved: 2019-12-18
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.10Fixed 13.0.7Fixed 14 b28Fixed 15Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
The comments from JDK-8235273 point to a test added with JDK-8212160 that crashes with graal because of code added with JDK-8173361.

The graal crash is because compiled_method_load events are added to the ServiceThread's deferred event queue before the ServiceThread is created so are not walked to keep them from being zombied.

https://bugs.openjdk.java.net/browse/JDK-8235273?focusedCommentId=14305951&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14305951

https://bugs.openjdk.java.net/browse/JDK-8235273?focusedCommentId=14305983&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14305983


Comments
Fix request (13u) Requesting backport to 13u for parity with 11u. The patch doesn't apply cleanly due to minor context difference in management.cpp (JDK-8170299 is not in 13u), reapplied manually. Tested with tier1.
10-02-2021

Fix request (11u) I would like to downport this for parity with 11.0.10-oracle. I had to adapt the change to 11: http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-November/004197.html
20-11-2020

URL: https://hg.openjdk.java.net/jdk/jdk14/rev/26bb0fe2270a User: coleenp Date: 2019-12-18 16:51:36 +0000
18-12-2019

Also fixed with this is the minimal VM didn't create the ServiceThread which also cleans hashtables and oopstorage.
16-12-2019

You can problem list this test for Graal if you want, until I fix this.
12-12-2019