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.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Related Reports
Relates :  
Observing a performance regression with early build of 7u4 results with +DoEscapeAnalysis.

EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/73df3733f2eb

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/73df3733f2eb

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.

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/73df3733f2eb

WORK AROUND Disable escape analysis, -XX:-DoEscapeAnalysis

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.