JDK-8219748 : Add and use getter for the timing object in G1
Type:Enhancement
Component:hotspot
Sub-Component:gc
Affected Version:13
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2019-02-26
Updated:2019-03-06
Resolved:2019-03-04
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.
The G1GCPhaseTimes object can accessed via the policy object in G1.
The very large amount of occurrences of g1_policy()->phase_times() warrants introduction of a getter in G1CollectedHeap to shorten the code.