equal
deleted
inserted
replaced
375 } while (t < top()); |
375 } while (t < top()); |
376 |
376 |
377 set_saved_mark_word(p); |
377 set_saved_mark_word(p); |
378 } |
378 } |
379 |
379 |
380 template <typename OopClosureType> |
|
381 void ContiguousSpace::par_oop_iterate(MemRegion mr, OopClosureType* blk) { |
|
382 HeapWord* obj_addr = mr.start(); |
|
383 HeapWord* limit = mr.end(); |
|
384 while (obj_addr < limit) { |
|
385 assert(oopDesc::is_oop(oop(obj_addr)), "Should be an oop"); |
|
386 obj_addr += oop(obj_addr)->oop_iterate_size(blk); |
|
387 } |
|
388 } |
|
389 |
|
390 #endif // SHARE_GC_SHARED_SPACE_INLINE_HPP |
380 #endif // SHARE_GC_SHARED_SPACE_INLINE_HPP |