equal
deleted
inserted
replaced
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, |