src/hotspot/share/code/dependencies.hpp
changeset 54734 e8f1b9fc82cc
parent 54721 3661ad97da8f
child 55298 1fe17d2be502
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54733:28dd27202591 54734:e8f1b9fc82cc
   371   static void check_ctxk_abstract(Klass* ctxk) {
   371   static void check_ctxk_abstract(Klass* ctxk) {
   372     check_ctxk(ctxk);
   372     check_ctxk(ctxk);
   373     assert(ctxk->is_abstract(), "must be abstract");
   373     assert(ctxk->is_abstract(), "must be abstract");
   374   }
   374   }
   375   static void check_unique_method(Klass* ctxk, Method* m) {
   375   static void check_unique_method(Klass* ctxk, Method* m) {
   376     assert(!m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant");
   376     // Graal can register redundant dependencies
       
   377     assert(UseJVMCICompiler || !m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant");
   377   }
   378   }
   378 
   379 
   379   void assert_common_1(DepType dept, DepValue x);
   380   void assert_common_1(DepType dept, DepValue x);
   380   void assert_common_2(DepType dept, DepValue x0, DepValue x1);
   381   void assert_common_2(DepType dept, DepValue x0, DepValue x1);
   381 
   382