changeset 56087:e8f1b9fc82cc

8223422: [Graal] assert(!m->can_be_statically_bound(InstanceKlass::cast(ctxk))) failed: redundant Reviewed-by: kvn
author vlivanov
date Mon, 06 May 2019 21:31:36 -0700
parents 28dd27202591
children a9f729b641a3
files src/hotspot/share/code/dependencies.hpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/code/dependencies.hpp	Thu Apr 25 13:35:34 2019 -0700
+++ b/src/hotspot/share/code/dependencies.hpp	Mon May 06 21:31:36 2019 -0700
@@ -373,7 +373,8 @@
     assert(ctxk->is_abstract(), "must be abstract");
   }
   static void check_unique_method(Klass* ctxk, Method* m) {
-    assert(!m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant");
+    // Graal can register redundant dependencies
+    assert(UseJVMCICompiler || !m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant");
   }
 
   void assert_common_1(DepType dept, DepValue x);