JDK-8225141 : Better handling of classes in error state by fast class initialization checks
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:8,11,13
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2019-05-31
Updated:2020-02-17
Resolved:2019-06-06
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.
Fast class initialization checks don't properly handle the case when class is in error state.
Comments
8u Fix Request:
I would like to backport this patch to 8u, as it is in Oracle's 8u.
The patch does not apply cleanly, due to line shifts and different implementation of set_initialization_state_and_notify() in 8u.
Webrev: http://cr.openjdk.java.net/~zgu/JDK-8225141-8u/webrev.00/index.html
Code review thread: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-August/010159.html
23-08-2019
11u Fix Request:
I would like to backport this patch to 11u, as it is on Oracle's 11u backport.
The patch does not apply cleanly. There are line shifts, also none 11u
backportable JDK-8215575 merged debug only and non-debug inline versions
of set_init_thread() method.
11u code review thread:
https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2019-August/001585.html
(reviewed)