src/share/vm/opto/bytecodeInfo.cpp

changeset 679
524eca34ea76
parent 476
874b2c4f43d1
child 680
4a4c365f777d
equal deleted inserted replaced
666:72c3e8693c9a 679: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 );

mercurial