< prev index next >

src/share/vm/opto/parse1.cpp

Print this page
rev 11416 : [mq]: With tiered C2 should not mark methods as not compilable with all tiers

@@ -423,11 +423,11 @@
 
   _tf = TypeFunc::make(method());
   _iter.reset_to_method(method());
   _flow = method()->get_flow_analysis();
   if (_flow->failing()) {
-    C->record_method_not_compilable_all_tiers(_flow->failure_reason());
+    C->record_method_not_compilable(_flow->failure_reason());
   }
 
 #ifndef PRODUCT
   if (_flow->has_irreducible_entry()) {
     C->set_parsed_irreducible_loop(true);

@@ -1116,11 +1116,11 @@
 // Initial monitor locking for sync. methods is performed by do_method_entry.
 SafePointNode* Parse::create_entry_map() {
   // Check for really stupid bail-out cases.
   uint len = TypeFunc::Parms + method()->max_locals() + method()->max_stack();
   if (len >= 32760) {
-    C->record_method_not_compilable_all_tiers("too many local variables");
+    C->record_method_not_compilable("too many local variables");
     return NULL;
   }
 
   // clear current replaced nodes that are of no use from here on (map was cloned in build_exits).
   _caller->map()->delete_replaced_nodes();
< prev index next >