1.1 --- a/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.hpp Tue Aug 19 12:39:06 2014 +0200 1.2 +++ b/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.hpp Tue Aug 19 10:50:27 2014 +0200 1.3 @@ -231,10 +231,6 @@ 1.4 1.5 void set_bottom(HeapWord* new_bottom); 1.6 1.7 - // Updates all the BlockOffsetArray's sharing this shared array to 1.8 - // reflect the current "top"'s of their spaces. 1.9 - void update_offset_arrays(); 1.10 - 1.11 // Return the appropriate index into "_offset_array" for "p". 1.12 inline size_t index_for(const void* p) const; 1.13 1.14 @@ -480,6 +476,8 @@ 1.15 blk_start, blk_end); 1.16 } 1.17 1.18 + // Zero out the entry for _bottom (offset will be zero). 1.19 + void zero_bottom_entry(); 1.20 public: 1.21 G1BlockOffsetArrayContigSpace(G1BlockOffsetSharedArray* array, MemRegion mr); 1.22 1.23 @@ -487,8 +485,10 @@ 1.24 // bottom of the covered region. 1.25 HeapWord* initialize_threshold(); 1.26 1.27 - // Zero out the entry for _bottom (offset will be zero). 1.28 - void zero_bottom_entry(); 1.29 + void reset_bot() { 1.30 + zero_bottom_entry(); 1.31 + initialize_threshold(); 1.32 + } 1.33 1.34 // Return the next threshold, the point at which the table should be 1.35 // updated.