< prev index next >
src/hotspot/share/gc/shared/genCollectedHeap.hpp
Print this page
rev 47957 : 8191564: Refactor GC related servicability code into GC specific subclasses
*** 110,119 ****
--- 110,122 ----
// Data structure for claiming the (potentially) parallel tasks in
// (gen-specific) roots processing.
SubTasksDone* _process_strong_tasks;
+ GCMemoryManager* _minor_mgr;
+ GCMemoryManager* _major_mgr;
+
// Helper functions for allocation
HeapWord* attempt_allocation(size_t size,
bool is_tlab,
bool first_only);
*** 147,156 ****
--- 150,163 ----
public:
// Returns JNI_OK on success
virtual jint initialize();
+ virtual void init_memory_managers() = 0;
+ GCMemoryManager* major_mgr() { return _major_mgr; }
+ GCMemoryManager* minor_mgr() { return _minor_mgr; }
+
// Does operations required after initialization has been done.
void post_initialize();
Generation* young_gen() const { return _young_gen; }
Generation* old_gen() const { return _old_gen; }
< prev index next >