793 record_method_not_compilable_all_tiers("cannot parse method"); |
793 record_method_not_compilable_all_tiers("cannot parse method"); |
794 return; |
794 return; |
795 } |
795 } |
796 JVMState* jvms = build_start_state(start(), tf()); |
796 JVMState* jvms = build_start_state(start(), tf()); |
797 if ((jvms = cg->generate(jvms)) == NULL) { |
797 if ((jvms = cg->generate(jvms)) == NULL) { |
798 record_method_not_compilable("method parse failed"); |
798 if (!failure_reason_is(C2Compiler::retry_class_loading_during_parsing())) { |
|
799 record_method_not_compilable("method parse failed"); |
|
800 } |
799 return; |
801 return; |
800 } |
802 } |
801 GraphKit kit(jvms); |
803 GraphKit kit(jvms); |
802 |
804 |
803 if (!kit.stopped()) { |
805 if (!kit.stopped()) { |