United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6684714 Optimize EA Connection Graph build performance
JDK-6684714 : Optimize EA Connection Graph build performance

Details
Type:
Enhancement
Submit Date:
2008-04-04
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs12
Fixed Versions:
hs14 (b03)

Related Reports
Backport:
Backport:

Sub Tasks

Description
EA spends most time in Connection Graph construction which is done
during each method compilation (with EA is on) since only after CG built 
we can look for scalar replaceable candidates and create unique types 
for fields instances or skip it if there are no such candidates.

The Connection Graph construction should be as fast as posible.

                                    

Comments
EVALUATION

See Description.
                                     
2008-04-10
SUGGESTED FIX

1. I am using this push to switch on Escape Analysis by default.

2. Build Connection Graph and execute Escape Analysis only
when Ideal graph has allocations and/or locks.
Use Compile::_macro_nodes worklist check for that.

3. Several accessors methods were optimized due to the fact that
no new ideal nodes should be created during Connection Graph build.

4. Removed experimental code in oopMap.

Note: I did experiments with growableArray optimizations and they
bring nothing to the current EA code performance.
I filed separate bug to investigate gA optimizations.
                                     
2008-07-07



Hardware and Software, Engineered to Work Together