8335618: Serial: Remove unused definitions in SerialHeap
Reviewed-by: iwalulya
This commit is contained in:
parent
cf4f2b53d6
commit
19a8a2baa9
@ -43,7 +43,6 @@ class CSpaceCounters;
|
||||
class OldGenScanClosure;
|
||||
class YoungGenScanClosure;
|
||||
class DefNewTracer;
|
||||
class ScanWeakRefClosure;
|
||||
class SerialHeap;
|
||||
class STWGCTimer;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user