equal
deleted
inserted
replaced
638 |
638 |
639 void Klass::verify_on(outputStream* st) { |
639 void Klass::verify_on(outputStream* st) { |
640 |
640 |
641 // This can be expensive, but it is worth checking that this klass is actually |
641 // This can be expensive, but it is worth checking that this klass is actually |
642 // in the CLD graph but not in production. |
642 // in the CLD graph but not in production. |
643 assert(ClassLoaderDataGraph::contains((address)this), "Should be"); |
643 assert(Metaspace::contains((address)this), "Should be"); |
644 |
644 |
645 guarantee(this->is_klass(),"should be klass"); |
645 guarantee(this->is_klass(),"should be klass"); |
646 |
646 |
647 if (super() != NULL) { |
647 if (super() != NULL) { |
648 guarantee(super()->is_klass(), "should be klass"); |
648 guarantee(super()->is_klass(), "should be klass"); |