8076988: reevaluate trivial method policy

Removed some checks to qualify as trivial

Reviewed-by: shade, thartmann, dlong
diff --git a/src/hotspot/share/runtime/tieredThresholdPolicy.cpp b/src/hotspot/share/runtime/tieredThresholdPolicy.cpp
index c6d029f..35e2b16 100644
--- a/src/hotspot/share/runtime/tieredThresholdPolicy.cpp
+++ b/src/hotspot/share/runtime/tieredThresholdPolicy.cpp
@@ -87,22 +87,6 @@
       method->is_constant_getter()) {
     return true;
   }
-#if INCLUDE_JVMCI
-  if (UseJVMCICompiler) {
-    AbstractCompiler* comp = CompileBroker::compiler(CompLevel_full_optimization);
-    if (TieredCompilation && comp != NULL && comp->is_trivial(method)) {
-      return true;
-    }
-  }
-#endif
-  if (method->has_loops() || method->code_size() >= 15) {
-    return false;
-  }
-  MethodData* mdo = method->method_data();
-  if (mdo != NULL && !mdo->would_profile() &&
-      (method->code_size() < 5  || (mdo->num_blocks() < 4))) {
-    return true;
-  }
   return false;
 }