< prev index next >

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

Print this page
rev 48000 : [mq]: open.patch

*** 24,37 **** --- 24,44 ---- #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 GCMemoryManager; + class MemoryPool; class SerialHeap : public GenCollectedHeap { + MemoryPool* _eden_pool; + MemoryPool* _survivor_pool; + MemoryPool* _old_pool; + protected: virtual void check_gen_kinds(); public: SerialHeap(GenCollectorPolicy* policy);
*** 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 --- 49,69 ---- virtual const char* name() const { return "Serial"; } + virtual jint initialize(); + + virtual GrowableArray<GCMemoryManager*> 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 >