8326659: Serial: Remove redundant TenuredSpace::print_on

Reviewed-by: tschatzl
This commit is contained in:
Albert Mingkun Yang 2024-02-27 09:12:20 +00:00
parent 7583419d88
commit 5d3d40d962
2 changed files with 0 additions and 10 deletions
src/hotspot/share/gc/shared

@ -115,14 +115,6 @@ void ContiguousSpace::print_on(outputStream* st) const {
p2i(bottom()), p2i(top()), p2i(end()));
}
#if INCLUDE_SERIALGC
void TenuredSpace::print_on(outputStream* st) const {
print_short_on(st);
st->print_cr(" [" PTR_FORMAT ", " PTR_FORMAT ", " PTR_FORMAT ")",
p2i(bottom()), p2i(top()), p2i(end()));
}
#endif
void ContiguousSpace::verify() const {
HeapWord* p = bottom();
HeapWord* t = top();

@ -243,8 +243,6 @@ class TenuredSpace: public ContiguousSpace {
inline HeapWord* par_allocate(size_t word_size) override;
inline void update_for_block(HeapWord* start, HeapWord* end);
void print_on(outputStream* st) const override;
};
#endif //INCLUDE_SERIALGC