From cf28c081777915834d888c38b6217f6862bb84f4 Mon Sep 17 00:00:00 2001 From: kvn Date: Fri, 30 Jan 2015 10:27:50 -0800 Subject: [PATCH] 8071534: assert(!failing()) failed: Must not have pending failure. Reason is: out of memory Summary: Add missing C->failing() check after Connection graph construction. Reviewed-by: iveresov --- src/share/vm/opto/escape.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/share/vm/opto/escape.cpp b/src/share/vm/opto/escape.cpp index 384fe0810..86bc5b47d 100644 --- a/src/share/vm/opto/escape.cpp +++ b/src/share/vm/opto/escape.cpp @@ -205,6 +205,11 @@ bool ConnectionGraph::compute_escape() { _verify = false; } #endif + // Bytecode analyzer BCEscapeAnalyzer, used for Call nodes + // processing, calls to CI to resolve symbols (types, fields, methods) + // referenced in bytecode. During symbol resolution VM may throw + // an exception which CI cleans and converts to compilation failure. + if (C->failing()) return false; // 2. Finish Graph construction by propagating references to all // java objects through graph. -- GitLab