src/hotspot/share/code/dependencies.hpp
changeset 55298 1fe17d2be502
parent 54734 e8f1b9fc82cc
child 55635 0fb70c9118ce
--- a/src/hotspot/share/code/dependencies.hpp	Fri Jun 07 14:32:48 2019 -0700
+++ b/src/hotspot/share/code/dependencies.hpp	Fri Jun 07 18:11:33 2019 -0400
@@ -373,8 +373,7 @@
     assert(ctxk->is_abstract(), "must be abstract");
   }
   static void check_unique_method(Klass* ctxk, Method* m) {
-    // Graal can register redundant dependencies
-    assert(UseJVMCICompiler || !m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant");
+    assert(!m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant");
   }
 
   void assert_common_1(DepType dept, DepValue x);