8338036: Serial: Remove Generation::update_counters

Reviewed-by: kbarrett
This commit is contained in:
Albert Mingkun Yang 2024-08-09 08:23:44 +00:00
parent 53fce38a3f
commit 6ebd5d74d5

View File

@ -114,8 +114,7 @@ class Generation: public CHeapObj<mtGC> {
public:
// Performance Counter support
virtual void update_counters() = 0;
virtual CollectorCounters* counters() { return _gc_counters; }
CollectorCounters* counters() { return _gc_counters; }
GCMemoryManager* gc_manager() const {
assert(_gc_manager != nullptr, "not initialized yet");