hotspot/src/share/vm/opto/compile.cpp
changeset 28395 fbe08d791778
parent 27707 f7d26e5b8b5d
child 28912 27fac2f8fdbe
child 29081 c61eb4914428
--- a/hotspot/src/share/vm/opto/compile.cpp	Tue Dec 30 11:09:42 2014 +0300
+++ b/hotspot/src/share/vm/opto/compile.cpp	Mon Dec 22 11:21:20 2014 +0100
@@ -774,7 +774,9 @@
     }
     JVMState* jvms = build_start_state(start(), tf());
     if ((jvms = cg->generate(jvms)) == NULL) {
-      record_method_not_compilable("method parse failed");
+      if (!failure_reason_is(C2Compiler::retry_class_loading_during_parsing())) {
+        record_method_not_compilable("method parse failed");
+      }
       return;
     }
     GraphKit kit(jvms);