comparison src/share/vm/oops/oop.pcgc.inline.hpp @ 6831:d8ce2825b193

8000213: NPG: Should have renamed arrayKlass and typeArrayKlass Summary: Capitalize these metadata types (and objArrayKlass) Reviewed-by: stefank, twisti, kvn
author coleenp
date Sat, 29 Sep 2012 06:40:00 -0400
parents da91efe96a93
children db9981fd3124
comparison
equal deleted inserted replaced
6811:1b582b1bf7cb 6831:d8ce2825b193
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");