src/share/vm/gc_implementation/shared/mutableSpace.cpp

Print this page
rev 6796 : [mq]: templateOopIterate

*** 223,233 **** void MutableSpace::oop_iterate(ExtendedOopClosure* cl) { HeapWord* obj_addr = bottom(); HeapWord* t = top(); // Could call objects iterate, but this is easier. while (obj_addr < t) { ! obj_addr += oop(obj_addr)->oop_iterate(cl); } } void MutableSpace::oop_iterate_no_header(OopClosure* cl) { HeapWord* obj_addr = bottom(); --- 223,233 ---- void MutableSpace::oop_iterate(ExtendedOopClosure* cl) { HeapWord* obj_addr = bottom(); HeapWord* t = top(); // Could call objects iterate, but this is easier. while (obj_addr < t) { ! obj_addr += oop(obj_addr)->oop_iterate<false>(cl); } } void MutableSpace::oop_iterate_no_header(OopClosure* cl) { HeapWord* obj_addr = bottom();