mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6684714: Optimize EA Connection Graph build performance
Switch on EA by default, optimize Connection Graph construction Reviewed-by: rasbold, never
This commit is contained in:
parent
2a68d0757b
commit
696e17c0ba
7 changed files with 290 additions and 285 deletions
|
@ -83,7 +83,7 @@ static bool is_init_with_ea(ciMethod* callee_method,
|
|||
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() &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue