hotspot/src/share/vm/oops/klass.cpp
changeset 24457 0e20b36df5c4
parent 24351 61b33cc6d3cf
child 25326 85b2f2e63e3e
equal deleted inserted replaced
24456:8c7933fa5a1f 24457:0e20b36df5c4
   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");