8071534: assert(!failing()) failed: Must not have pending failure. Reason is: out of memory
authorkvn
Fri, 30 Jan 2015 10:27:50 -0800
changeset 28920 254044e6ad7c
parent 28919 9abd2d3a54b8
child 28921 c14a350e277a
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
hotspot/src/share/vm/opto/escape.cpp
--- 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.