JDK-8009910 : Refactor code in arguments.cpp to break circularity in COOPS settings
Type:Enhancement
Component:hotspot
Sub-Component:gc
Priority:P4
Status:Resolved
Resolution:Withdrawn
Submitted:2013-03-12
Updated:2015-11-02
Resolved:2015-11-02
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 methods set_heap_size() and set_ergonomics_flags() depend on the
setting of UseCompressedOops and can set/unset UseCompressedOops.
Refactor so that the decision on UseCompressedOops is made earlier.
Comments
set_use_compressed_oops() is called in set_ergonomics_flags() currently so this change is no longer needed.
02-11-2015
JDK-8010722 is a bug that deals with circular references of UseCompressedOops with other decisions: there are more circular references in argument processed than the one observed here with UseCompressedOops.
I.e. UseCompressedOops is determined first based on variables that are ergonomically changed later, but these decisions use UseCompressedOops themselves.
Not sure if it is solving the same problem, as set_heap_size() does not seem to set (but use) UseCompressedOops (any more?).