hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp
changeset 1385 1751733b089b
parent 1374 4c24294029a9
child 1387 580d4ae0a776
equal deleted inserted replaced
1384:163a4d4fa951 1385:1751733b089b
   791     // will be false, and it will pick up top() as the high water mark
   791     // will be false, and it will pick up top() as the high water mark
   792     // of region. If it does so after _gc_time_stamp = ..., then it
   792     // of region. If it does so after _gc_time_stamp = ..., then it
   793     // will pick up the right saved_mark_word() as the high water mark
   793     // will pick up the right saved_mark_word() as the high water mark
   794     // of the region. Either way, the behaviour will be correct.
   794     // of the region. Either way, the behaviour will be correct.
   795     ContiguousSpace::set_saved_mark();
   795     ContiguousSpace::set_saved_mark();
   796     OrderAccess::release_store_ptr((volatile intptr_t*) &_gc_time_stamp,
   796     _gc_time_stamp = curr_gc_time_stamp;
   797                                    (intptr_t) curr_gc_time_stamp);
   797     OrderAccess::fence();
   798   }
   798   }
   799 }
   799 }
   800 
   800 
   801 G1OffsetTableContigSpace::
   801 G1OffsetTableContigSpace::
   802 G1OffsetTableContigSpace(G1BlockOffsetSharedArray* sharedOffsetArray,
   802 G1OffsetTableContigSpace(G1BlockOffsetSharedArray* sharedOffsetArray,