JDK-8202942 : [Graal] InlineNotify flag has been replaced by a SyncKnob
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:11
Priority:P3
Status:Closed
Resolution:Duplicate
Submitted:2018-05-10
Updated:2023-07-21
Resolved:2023-07-21
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.
We need to query the SyncKnob static field instead of the obsolete flag.
Comments
Okay, thanks for the clarification David. Converting this back to a bug then.
ILW = Obsoleted flag is used by Graal (potentially resulting in wrong behavior), with Graal as JIT, no workaround = MMH = P3
11-05-2018
The flag has been obsoleted in 11 meaning that it's value can not be modified. Hence the Graal code is checking the wrong thing - the SyncKnob could turn off InlineNotify and Graal would still think it is enabled.
11-05-2018
Converted this to an enhancement because InlineNotify will only be removed in JDK 12 (but deprecated in JDK 11). We should fix this in JDK 11 though.