< prev index next >

src/share/vm/gc/cms/concurrentMarkSweepGeneration.inline.hpp

Print this page
rev 12906 : [mq]: gc_interface

*** 444,462 **** inline void ModUnionClosure::do_MemRegion(MemRegion mr) { // Align the end of mr so it's at a card boundary. // This is superfluous except at the end of the space; // we should do better than this XXX MemRegion mr2(mr.start(), (HeapWord*)round_to((intptr_t)mr.end(), ! CardTableModRefBS::card_size /* bytes */)); _t->mark_range(mr2); } inline void ModUnionClosurePar::do_MemRegion(MemRegion mr) { // Align the end of mr so it's at a card boundary. // This is superfluous except at the end of the space; // we should do better than this XXX MemRegion mr2(mr.start(), (HeapWord*)round_to((intptr_t)mr.end(), ! CardTableModRefBS::card_size /* bytes */)); _t->par_mark_range(mr2); } #endif // SHARE_VM_GC_CMS_CONCURRENTMARKSWEEPGENERATION_INLINE_HPP --- 444,462 ---- inline void ModUnionClosure::do_MemRegion(MemRegion mr) { // Align the end of mr so it's at a card boundary. // This is superfluous except at the end of the space; // we should do better than this XXX MemRegion mr2(mr.start(), (HeapWord*)round_to((intptr_t)mr.end(), ! CardTable::card_size /* bytes */)); _t->mark_range(mr2); } inline void ModUnionClosurePar::do_MemRegion(MemRegion mr) { // Align the end of mr so it's at a card boundary. // This is superfluous except at the end of the space; // we should do better than this XXX MemRegion mr2(mr.start(), (HeapWord*)round_to((intptr_t)mr.end(), ! CardTable::card_size /* bytes */)); _t->par_mark_range(mr2); } #endif // SHARE_VM_GC_CMS_CONCURRENTMARKSWEEPGENERATION_INLINE_HPP
< prev index next >