< prev index next >

src/hotspot/share/c1/c1_GraphBuilder.cpp

Print this page

        

@@ -1449,13 +1449,10 @@
       needs_check = false;
     }
   }
 
   if (needs_check) {
-    // Not a trivial method because C2 can do better with inlined check.
-    compilation()->set_would_profile(true);
-
     // Perform the registration of finalizable objects.
     ValueStack* state_before = copy_state_for_exception();
     load_local(objectType, 0);
     append_split(new Intrinsic(voidType, vmIntrinsics::_Object_init,
                                state()->pop_arguments(1),

@@ -3567,13 +3564,10 @@
     profile_return_type(result, callee);
   }
 }
 
 bool GraphBuilder::try_inline_intrinsics(ciMethod* callee, bool ignore_return) {
-  // Not a trivial method because C2 may do intrinsics better.
-  compilation()->set_would_profile(true);
-
   // For calling is_intrinsic_available we need to transition to
   // the '_thread_in_vm' state because is_intrinsic_available()
   // accesses critical VM-internal data.
   bool is_available = false;
   {
< prev index next >