changeset 7809:25454f0d37d3

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 76953f37d153
children 1c65b563b1bd
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	Fri Jan 30 15:36:29 2015 +0000
+++ b/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.