Mercurial > hg > truffle
diff src/share/vm/opto/bytecodeInfo.cpp @ 244:524eca34ea76
6684714: Optimize EA Connection Graph build performance
Summary: switch on EA by default, optimize Connection Graph construction
Reviewed-by: rasbold, never
author | kvn |
---|---|
date | Thu, 03 Jul 2008 18:02:47 -0700 |
parents | 874b2c4f43d1 |
children | 4a4c365f777d |
line wrap: on
line diff
--- a/src/share/vm/opto/bytecodeInfo.cpp Wed Jul 02 15:38:47 2008 -0400 +++ b/src/share/vm/opto/bytecodeInfo.cpp Thu Jul 03 18:02:47 2008 -0700 @@ -83,7 +83,7 @@ ciMethod* caller_method, Compile* C) { // True when EA is ON and a java constructor is called or // a super constructor is called from an inlined java constructor. - return DoEscapeAnalysis && EliminateAllocations && + return C->do_escape_analysis() && EliminateAllocations && ( callee_method->is_initializer() || (caller_method->is_initializer() && caller_method != C->method() &&