--- 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);