< prev index next >

src/share/vm/gc/g1/heapRegion.cpp

Print this page
rev 10742 : Make fields used in lock-free algorithms volatile

*** 382,392 **** HeapWord* HeapRegion:: oops_on_card_seq_iterate_careful(MemRegion mr, FilterOutOfRegionClosure* cl, bool filter_young, ! jbyte* card_ptr) { // Currently, we should only have to clean the card if filter_young // is true and vice versa. if (filter_young) { assert(card_ptr != NULL, "pre-condition"); } else { --- 382,392 ---- HeapWord* HeapRegion:: oops_on_card_seq_iterate_careful(MemRegion mr, FilterOutOfRegionClosure* cl, bool filter_young, ! volatile jbyte* card_ptr) { // Currently, we should only have to clean the card if filter_young // is true and vice versa. if (filter_young) { assert(card_ptr != NULL, "pre-condition"); } else {
*** 1091,1096 **** _top = bottom(); _scan_top = bottom(); set_saved_mark_word(NULL); reset_bot(); } - --- 1091,1095 ----
< prev index next >