JDK-8264151 : ciMethod::ensure_method_data() should return false is loading resulted in empty state
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:11,16,17
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2021-03-24
Updated:2021-10-05
Resolved:2021-03-26
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.
ciMethodData::load_data() can set the state of the MDO to empty (if it's replaying a compile). In this case we should return false from ensure_method_data().
Comments
Fix Request (11u)
I would like to backport this patch to 11u for parity with Oracle 11.0.12-oracle.
The original patch applies cleanly.