diff --git a/src/hotspot/share/gc/shared/space.hpp b/src/hotspot/share/gc/shared/space.hpp index dbfed7fe759..41c1d2a0d75 100644 --- a/src/hotspot/share/gc/shared/space.hpp +++ b/src/hotspot/share/gc/shared/space.hpp @@ -77,8 +77,8 @@ class Space: public CHeapObj { // Accessors HeapWord* bottom() const { return _bottom; } HeapWord* end() const { return _end; } - virtual void set_bottom(HeapWord* value) { _bottom = value; } - virtual void set_end(HeapWord* value) { _end = value; } + void set_bottom(HeapWord* value) { _bottom = value; } + void set_end(HeapWord* value) { _end = value; } HeapWord* saved_mark_word() const { return _saved_mark_word; }