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
--- a/hotspot/src/share/vm/opto/escape.cpp Fri Jan 30 15:36:29 2015 +0000
+++ b/hotspot/src/share/vm/opto/escape.cpp Fri Jan 30 10:27:50 2015 -0800
@@ -206,6 +206,11 @@
_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.