Mercurial > hg > graal-compiler
diff src/share/vm/gc_implementation/g1/heapRegion.hpp @ 6754:8fbf05030e24
7016955: G1: remove the is_zeroed parameter from the HeapRegion constructor
Summary: The is_zeroed parameter is no longer used and so can be removed.
Reviewed-by: johnc, jmasa, brutisso
Contributed-by: Brandon Mitchell <brandon@twitter.com>
author | johnc |
---|---|
date | Wed, 19 Sep 2012 08:48:10 -0700 |
parents | da91efe96a93 |
children | db9981fd3124 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/heapRegion.hpp Tue Sep 18 14:15:06 2012 -0700 +++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp Wed Sep 19 08:48:10 2012 -0700 @@ -165,10 +165,8 @@ HeapWord* _pre_dummy_top; public: - // Constructor. If "is_zeroed" is true, the MemRegion "mr" may be - // assumed to contain zeros. G1OffsetTableContigSpace(G1BlockOffsetSharedArray* sharedOffsetArray, - MemRegion mr, bool is_zeroed = false); + MemRegion mr); void set_bottom(HeapWord* value); void set_end(HeapWord* value); @@ -189,7 +187,6 @@ } void reset_pre_dummy_top() { _pre_dummy_top = NULL; } - virtual void initialize(MemRegion mr, bool clear_space, bool mangle_space); virtual void clear(bool mangle_space); HeapWord* block_start(const void* p); @@ -340,10 +337,9 @@ size_t _predicted_bytes_to_copy; public: - // If "is_zeroed" is "true", the region "mr" can be assumed to contain zeros. HeapRegion(uint hrs_index, G1BlockOffsetSharedArray* sharedOffsetArray, - MemRegion mr, bool is_zeroed); + MemRegion mr); static int LogOfHRGrainBytes; static int LogOfHRGrainWords; @@ -598,8 +594,6 @@ void hr_clear(bool par, bool clear_space); void par_clear(); - void initialize(MemRegion mr, bool clear_space, bool mangle_space); - // Get the start of the unmarked area in this region. HeapWord* prev_top_at_mark_start() const { return _prev_top_at_mark_start; } HeapWord* next_top_at_mark_start() const { return _next_top_at_mark_start; }