hotspot/src/share/vm/oops/instanceRefKlass.cpp
changeset 4571 80b553bddc26
parent 3795 6227ff014cfe
child 4573 6358f8c9ed3b
equal deleted inserted replaced
4569:f372ea9e5ed4 4571:80b553bddc26
   395   // and is also treated specially.
   395   // and is also treated specially.
   396   instanceKlass* ik = instanceKlass::cast(k);
   396   instanceKlass* ik = instanceKlass::cast(k);
   397 
   397 
   398   // Check that we have the right class
   398   // Check that we have the right class
   399   debug_only(static bool first_time = true);
   399   debug_only(static bool first_time = true);
   400   assert(k == SystemDictionary::reference_klass() && first_time,
   400   assert(k == SystemDictionary::Reference_klass() && first_time,
   401          "Invalid update of maps");
   401          "Invalid update of maps");
   402   debug_only(first_time = false);
   402   debug_only(first_time = false);
   403   assert(ik->nonstatic_oop_map_count() == 1, "just checking");
   403   assert(ik->nonstatic_oop_map_count() == 1, "just checking");
   404 
   404 
   405   OopMapBlock* map = ik->start_of_nonstatic_oop_maps();
   405   OopMapBlock* map = ik->start_of_nonstatic_oop_maps();