hotspot/src/share/vm/oops/oop.pcgc.inline.hpp
changeset 13952 e3cf184080bc
parent 13728 882756847a04
child 15482 470d0b0c09f1
equal deleted inserted replaced
13918:b01a48301e67 13952:e3cf184080bc
    42   Klass* new_klass = klass();
    42   Klass* new_klass = klass();
    43   if (!new_klass->oop_is_typeArray()) {
    43   if (!new_klass->oop_is_typeArray()) {
    44     // It might contain oops beyond the header, so take the virtual call.
    44     // It might contain oops beyond the header, so take the virtual call.
    45     new_klass->oop_update_pointers(cm, this);
    45     new_klass->oop_update_pointers(cm, this);
    46   }
    46   }
    47   // Else skip it.  The typeArrayKlass in the header never needs scavenging.
    47   // Else skip it.  The TypeArrayKlass in the header never needs scavenging.
    48 }
    48 }
    49 
    49 
    50 inline void oopDesc::follow_contents(ParCompactionManager* cm) {
    50 inline void oopDesc::follow_contents(ParCompactionManager* cm) {
    51   assert (PSParallelCompact::mark_bitmap()->is_marked(this),
    51   assert (PSParallelCompact::mark_bitmap()->is_marked(this),
    52     "should be marked");
    52     "should be marked");