JDK-6481834 : CMS: some uses of is_objArray() may be replaced with is_objArray_fast()
Type:Enhancement
Component:hotspot
Sub-Component:gc
Affected Version:7
Priority:P4
Status:Closed
Resolution:Duplicate
OS:generic
CPU:generic
Submitted:2006-10-13
Updated:2010-04-02
Resolved:2007-06-14
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.
This can avoid a virtual call and may be slightly faster on
some platforms. Worth an experiment to see if it affects the
bottom-line (in stop-world pauses).
Comments
EVALUATION
The suggested change is now moot with the already-integrated
changes in layout helper, per CR 6516018, that make is_objArray()
almost as fast as the erstwhile is_objArray_fast(),
and is_objArray_slow() as slow as the previous is_objArray().
As such we can safely close this as a duplicate of 6516018.
14-06-2007
EVALUATION
Yes, worth the experiment (for 7.0). Expected improvements, if any,
will be quite small (but those pennies add up, of course).