hotspot/src/share/vm/oops/objArrayKlass.cpp
changeset 18439 725ce18186b3
parent 15482 470d0b0c09f1
child 21916 4977554a0c5e
equal deleted inserted replaced
18438:9ea6bbfe0b83 18439:725ce18186b3
   674 }
   674 }
   675 
   675 
   676 
   676 
   677 // Verification
   677 // Verification
   678 
   678 
   679 void ObjArrayKlass::verify_on(outputStream* st) {
   679 void ObjArrayKlass::verify_on(outputStream* st, bool check_dictionary) {
   680   ArrayKlass::verify_on(st);
   680   ArrayKlass::verify_on(st, check_dictionary);
   681   guarantee(element_klass()->is_metadata(), "should be in metaspace");
       
   682   guarantee(element_klass()->is_klass(), "should be klass");
   681   guarantee(element_klass()->is_klass(), "should be klass");
   683   guarantee(bottom_klass()->is_metadata(), "should be in metaspace");
       
   684   guarantee(bottom_klass()->is_klass(), "should be klass");
   682   guarantee(bottom_klass()->is_klass(), "should be klass");
   685   Klass* bk = bottom_klass();
   683   Klass* bk = bottom_klass();
   686   guarantee(bk->oop_is_instance() || bk->oop_is_typeArray(),  "invalid bottom klass");
   684   guarantee(bk->oop_is_instance() || bk->oop_is_typeArray(),  "invalid bottom klass");
   687 }
   685 }
   688 
   686