Updated: Request for reviews (M): 6684714: Optimize EA Connection Graph build performance

Vladimir Kozlov Vladimir.Kozlov at Sun.COM
Thu Jul 3 13:11:02 PDT 2008


Fixed 6684714: Optimize EA Connection Graph build performance

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

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.

Reviewed by:
Fix verified (y/n): y

Other testing:

More information about the hotspot-compiler-dev mailing list