comparison src/share/vm/oops/klass.cpp @ 3951:b632e80fc9dc

4988100: oop_verify_old_oop appears to be dead Summary: removed oop_verify_old_oop and allow_dirty. Also reviewed by: alexlamsl@gmail.com Reviewed-by: jmasa, jwilhelm
author brutisso
date Mon, 16 Apr 2012 08:57:18 +0200
parents 9a9bb0010c91
children bb74dc5ddf07
comparison
equal deleted inserted replaced
20:c434df8b9b44 21:b186aa17f59e
579 guarantee(obj->is_oop(), "should be oop"); 579 guarantee(obj->is_oop(), "should be oop");
580 guarantee(obj->klass()->is_perm(), "should be in permspace"); 580 guarantee(obj->klass()->is_perm(), "should be in permspace");
581 guarantee(obj->klass()->is_klass(), "klass field is not a klass"); 581 guarantee(obj->klass()->is_klass(), "klass field is not a klass");
582 } 582 }
583 583
584
585 void Klass::oop_verify_old_oop(oop obj, oop* p, bool allow_dirty) {
586 /* $$$ I think this functionality should be handled by verification of
587 RememberedSet::verify_old_oop(obj, p, allow_dirty, false);
588 the card table. */
589 }
590 void Klass::oop_verify_old_oop(oop obj, narrowOop* p, bool allow_dirty) { }
591
592 #ifndef PRODUCT 584 #ifndef PRODUCT
593 585
594 void Klass::verify_vtable_index(int i) { 586 void Klass::verify_vtable_index(int i) {
595 assert(oop_is_instance() || oop_is_array(), "only instanceKlass and arrayKlass have vtables"); 587 assert(oop_is_instance() || oop_is_array(), "only instanceKlass and arrayKlass have vtables");
596 if (oop_is_instance()) { 588 if (oop_is_instance()) {