src/hotspot/share/services/memoryService.hpp
branchepsilon-gc-branch
changeset 55767 8e22715afabc
parent 47216 71c04702a3d5
child 55778 a977fcca316b
equal deleted inserted replaced
47701:be620a591379 55767:8e22715afabc
    45 class ContiguousSpace;
    45 class ContiguousSpace;
    46 class CompactibleFreeListSpace;
    46 class CompactibleFreeListSpace;
    47 class GenCollectedHeap;
    47 class GenCollectedHeap;
    48 class ParallelScavengeHeap;
    48 class ParallelScavengeHeap;
    49 class G1CollectedHeap;
    49 class G1CollectedHeap;
       
    50 class EpsilonCollectedHeap;
    50 
    51 
    51 // VM Monitoring and Management Support
    52 // VM Monitoring and Management Support
    52 
    53 
    53 class MemoryService : public AllStatic {
    54 class MemoryService : public AllStatic {
    54 private:
    55 private:
   111                                    const char* name,
   112                                    const char* name,
   112                                    bool is_heap,
   113                                    bool is_heap,
   113                                    size_t max_size,
   114                                    size_t max_size,
   114                                    bool support_usage_threshold);
   115                                    bool support_usage_threshold);
   115 
   116 
       
   117 
   116   static void add_gen_collected_heap_info(GenCollectedHeap* heap);
   118   static void add_gen_collected_heap_info(GenCollectedHeap* heap);
   117   static void add_parallel_scavenge_heap_info(ParallelScavengeHeap* heap);
   119   static void add_parallel_scavenge_heap_info(ParallelScavengeHeap* heap);
   118   static void add_g1_heap_info(G1CollectedHeap* g1h);
   120   static void add_g1_heap_info(G1CollectedHeap* g1h);
       
   121   static void add_epsilon_heap_info(EpsilonCollectedHeap* eh);
   119 
   122 
   120 public:
   123 public:
   121   static void set_universe_heap(CollectedHeap* heap);
   124   static void set_universe_heap(CollectedHeap* heap);
   122   static void add_code_heap_memory_pool(CodeHeap* heap, const char* name);
   125   static void add_code_heap_memory_pool(CodeHeap* heap, const char* name);
   123   static void add_metaspace_memory_pools();
   126   static void add_metaspace_memory_pools();