comparison 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
comparison
equal deleted inserted replaced
231:72c3e8693c9a 244:524eca34ea76
81 81
82 static bool is_init_with_ea(ciMethod* callee_method, 82 static bool is_init_with_ea(ciMethod* callee_method,
83 ciMethod* caller_method, Compile* C) { 83 ciMethod* caller_method, Compile* C) {
84 // True when EA is ON and a java constructor is called or 84 // True when EA is ON and a java constructor is called or
85 // a super constructor is called from an inlined java constructor. 85 // a super constructor is called from an inlined java constructor.
86 return DoEscapeAnalysis && EliminateAllocations && 86 return C->do_escape_analysis() && EliminateAllocations &&
87 ( callee_method->is_initializer() || 87 ( callee_method->is_initializer() ||
88 (caller_method->is_initializer() && 88 (caller_method->is_initializer() &&
89 caller_method != C->method() && 89 caller_method != C->method() &&
90 caller_method->holder()->is_subclass_of(callee_method->holder())) 90 caller_method->holder()->is_subclass_of(callee_method->holder()))
91 ); 91 );