< prev index next >

src/hotspot/share/gc/serial/serialHeap.hpp

Print this page
rev 47957 : 8191564: Refactor GC related servicability code into GC specific subclasses

*** 24,35 **** --- 24,38 ---- #ifndef SHARE_VM_GC_SERIAL_SERIALHEAP_HPP #define SHARE_VM_GC_SERIAL_SERIALHEAP_HPP #include "gc/shared/genCollectedHeap.hpp" + #include "utilities/growableArray.hpp" class GenCollectorPolicy; + class MemoryManager; + class MemoryPool; class SerialHeap : public GenCollectedHeap { protected: virtual void check_gen_kinds();
*** 42,58 **** virtual const char* name() const { return "Serial"; } // override virtual bool is_in_closed_subset(const void* p) const { return is_in(p); } virtual bool card_mark_must_follow_store() const { return false; } - }; #endif // SHARE_VM_GC_CMS_CMSHEAP_HPP --- 45,64 ---- virtual const char* name() const { return "Serial"; } + virtual void init_memory_managers(); + virtual GrowableArray<MemoryManager*> memory_managers(); + virtual GrowableArray<MemoryPool*> memory_pools(); + // override virtual bool is_in_closed_subset(const void* p) const { return is_in(p); } virtual bool card_mark_must_follow_store() const { return false; } }; #endif // SHARE_VM_GC_CMS_CMSHEAP_HPP
< prev index next >