Mercurial > hg > graal-compiler
comparison src/share/vm/services/memoryService.hpp @ 8827:42e370795a39
8010818: NPG: Remove metaspace memory pools
Reviewed-by: mgerdin, stefank
author | ehelin |
---|---|
date | Wed, 27 Mar 2013 10:55:37 +0100 |
parents | dbd5837b342f |
children | 71963b3f802a |
comparison
equal
deleted
inserted
replaced
8826:338b3a9e29b5 | 8827:42e370795a39 |
---|---|
70 static GCMemoryManager* _major_gc_manager; | 70 static GCMemoryManager* _major_gc_manager; |
71 static GCMemoryManager* _minor_gc_manager; | 71 static GCMemoryManager* _minor_gc_manager; |
72 | 72 |
73 // Code heap memory pool | 73 // Code heap memory pool |
74 static MemoryPool* _code_heap_pool; | 74 static MemoryPool* _code_heap_pool; |
75 | |
76 // Metaspace pools | |
77 static MemoryPool* _metaspace_pool; | |
78 static MemoryPool* _class_metaspace_pool; | |
79 | 75 |
80 static void add_generation_memory_pool(Generation* gen, | 76 static void add_generation_memory_pool(Generation* gen, |
81 MemoryManager* major_mgr, | 77 MemoryManager* major_mgr, |
82 MemoryManager* minor_mgr); | 78 MemoryManager* minor_mgr); |
83 static void add_generation_memory_pool(Generation* gen, | 79 static void add_generation_memory_pool(Generation* gen, |
123 static void add_g1_heap_info(G1CollectedHeap* g1h); | 119 static void add_g1_heap_info(G1CollectedHeap* g1h); |
124 | 120 |
125 public: | 121 public: |
126 static void set_universe_heap(CollectedHeap* heap); | 122 static void set_universe_heap(CollectedHeap* heap); |
127 static void add_code_heap_memory_pool(CodeHeap* heap); | 123 static void add_code_heap_memory_pool(CodeHeap* heap); |
128 static void add_metaspace_memory_pools(); | |
129 | 124 |
130 static MemoryPool* get_memory_pool(instanceHandle pool); | 125 static MemoryPool* get_memory_pool(instanceHandle pool); |
131 static MemoryManager* get_memory_manager(instanceHandle mgr); | 126 static MemoryManager* get_memory_manager(instanceHandle mgr); |
132 | 127 |
133 static const int num_memory_pools() { | 128 static const int num_memory_pools() { |