@@ -86,13 +86,13 @@ class Space: public CHeapObj<mtGC> {
86
86
virtual void set_bottom (HeapWord* value) { _bottom = value; }
87
87
virtual void set_end (HeapWord* value) { _end = value; }
88
88
89
- virtual HeapWord* saved_mark_word () const { return _saved_mark_word; }
89
+ HeapWord* saved_mark_word () const { return _saved_mark_word; }
90
90
91
91
void set_saved_mark_word (HeapWord* p) { _saved_mark_word = p; }
92
92
93
93
// Returns true if this object has been allocated since a
94
94
// generation's "save_marks" call.
95
- virtual bool obj_allocated_since_save_marks (const oop obj) const {
95
+ bool obj_allocated_since_save_marks (const oop obj) const {
96
96
return cast_from_oop<HeapWord*>(obj) >= saved_mark_word ();
97
97
}
98
98
@@ -178,7 +178,7 @@ class Space: public CHeapObj<mtGC> {
178
178
// structure supporting these calls, possibly speeding up future calls.
179
179
// The default implementation, however, is simply to call the const
180
180
// version.
181
- virtual HeapWord* block_start (const void * p);
181
+ HeapWord* block_start (const void * p);
182
182
183
183
// Requires "addr" to be the start of a chunk, and returns its size.
184
184
// "addr + size" is required to be the start of a new chunk, or the end
@@ -191,7 +191,7 @@ class Space: public CHeapObj<mtGC> {
191
191
192
192
// Requires "addr" to be the start of a block, and returns "TRUE" iff
193
193
// the block is an object and the object is alive.
194
- virtual bool obj_is_alive (const HeapWord* addr) const ;
194
+ bool obj_is_alive (const HeapWord* addr) const ;
195
195
196
196
// Allocation (return null if full). Assumes the caller has established
197
197
// mutually exclusive access to the space.
@@ -206,10 +206,10 @@ class Space: public CHeapObj<mtGC> {
206
206
virtual void adjust_pointers () = 0;
207
207
#endif
208
208
209
- virtual void print () const ;
209
+ void print () const ;
210
210
virtual void print_on (outputStream* st) const ;
211
- virtual void print_short () const ;
212
- virtual void print_short_on (outputStream* st) const ;
211
+ void print_short () const ;
212
+ void print_short_on (outputStream* st) const ;
213
213
214
214
// Debugging
215
215
virtual void verify () const = 0;
0 commit comments