JDK-6667605 : Escape Analysis: always inline java constructors with EA
Type:Enhancement
Component:hotspot
Sub-Component:compiler
Affected Version:hs12
Priority:P4
Status:Closed
Resolution:Fixed
OS:solaris_10
CPU:sparc
Submitted:2008-02-26
Updated:2011-04-20
Resolved:2011-04-20
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.
Java constructor should be inlined to be able scalar replace the allocation with EA.
Comments
SUGGESTED FIX
Inline Java constructors when EA is on.
Also replace duplicated code in PhaseGVN::transform() with the call
to transform_no_reclaim(n) (otherwise missed EA collecting code should
be added to this method).