8335618: Serial: Remove unused definitions in SerialHeap

Reviewed-by: iwalulya
This commit is contained in:
Albert Mingkun Yang 2024-07-03 15:42:47 +00:00
parent cf4f2b53d6
commit 19a8a2baa9
2 changed files with 0 additions and 8 deletions

View File

@ -43,7 +43,6 @@ class CSpaceCounters;
class OldGenScanClosure;
class YoungGenScanClosure;
class DefNewTracer;
class ScanWeakRefClosure;
class SerialHeap;
class STWGCTimer;

View File

@ -72,14 +72,8 @@ class SerialHeap : public CollectedHeap {
friend class HeapInspection;
friend class GCCauseSetter;
friend class VMStructs;
public:
friend class VM_PopulateDumpSharedSpace;
enum GenerationType {
YoungGen,
OldGen
};
private:
DefNewGeneration* _young_gen;
TenuredGeneration* _old_gen;
@ -124,7 +118,6 @@ public:
// Does operations required after initialization has been done.
void post_initialize() override;
bool is_young_gen(const Generation* gen) const { return gen == _young_gen; }
bool is_in_reserved(const void* addr) const { return _reserved.contains(addr); }
// Performance Counter support