JDK-7129284 : +DoEscapeAnalysis regression w/ early build of 7u4 (HotSpot 23) on Linux
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:7u4
Priority:P1
Status:Closed
Resolution:Fixed
OS:linux
CPU:x86
Submitted:2012-01-11
Updated:2012-03-24
Resolved:2012-03-24
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.
EVALUATION
Removed code which tried to create edges from fields of destination objects of arraycopy to fields of source objects which could lead to significant time (minutes) spend in EA. Instead conservatively mark fields of source objects as
globally escape.
Also added 30 sec time limit for EA graph construction.
WORK AROUND
Disable escape analysis, -XX:-DoEscapeAnalysis
11-01-2012
PUBLIC COMMENTS
Early build of JDK 7u4 (HotSpot 23) shows a large regression with escape analysis enabled when using +UseParallelOldGC or CMS. But, regression doesn't appear when using G1 GC.