mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-02 22:48:35 +00:00
8301148: Serial: Remove ContiguousSpace::reset_saved_mark
Reviewed-by: kbarrett, tschatzl
This commit is contained in:
parent
c672ed16f3
commit
82df4a2aee
@ -322,7 +322,6 @@ TenuredGeneration::TenuredGeneration(ReservedSpace rs,
|
||||
HeapWord* bottom = (HeapWord*) _virtual_space.low();
|
||||
HeapWord* end = (HeapWord*) _virtual_space.high();
|
||||
_the_space = new TenuredSpace(_bts, MemRegion(bottom, end));
|
||||
_the_space->reset_saved_mark();
|
||||
// If we don't shrink the heap in steps, '_shrink_factor' is always 100%.
|
||||
_shrink_factor = ShrinkHeapInSteps ? 0 : 100;
|
||||
_capacity_at_prologue = 0;
|
||||
|
||||
@ -425,7 +425,6 @@ class ContiguousSpace: public CompactibleSpace {
|
||||
void set_top(HeapWord* value) { _top = value; }
|
||||
|
||||
void set_saved_mark() { _saved_mark_word = top(); }
|
||||
void reset_saved_mark() { _saved_mark_word = bottom(); }
|
||||
|
||||
bool saved_mark_at_top() const { return saved_mark_word() == top(); }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user