changeset 22826:f46bff88dc9f

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
author kvn
date Fri, 30 Jan 2015 10:27:50 -0800
parents a51071796915
children 1830156c6b7e
files src/share/vm/opto/escape.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/escape.cpp	Wed Jan 21 12:38:11 2015 +0100
+++ b/src/share/vm/opto/escape.cpp	Fri Jan 30 10:27:50 2015 -0800
@@ -205,6 +205,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.