JDK-8222231 : Clean up interfaceSupport.inline.hpp duplicated code
Type:Bug
Component:hotspot
Sub-Component:runtime
Affected Version:13
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2019-04-09
Updated:2019-04-18
Resolved:2019-04-10
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.
When -XX:+UseMembar was taken out serialize_thread_state_with_handler is now the same as serialize_thread_state, and transition_and_fence == transition.
Also clearing unhandled oops is called excessively.
Comments
Further, where we previously needed:
set_thread_state(s);
serialize_thread_state(thread);
because "serializing" was a complex action with three variations, it is now simply a call to fence(). So this can simplify to:
set_thread_state_fence(s);
with the obvious implementation.