equal
deleted
inserted
replaced
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"); |