--- a/hotspot/src/share/vm/opto/bytecodeInfo.cpp Wed Jul 05 16:39:00 2017 +0200
+++ b/hotspot/src/share/vm/opto/bytecodeInfo.cpp Fri Jul 11 12:19:29 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() &&