Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psOldGen.hpp @ 6948:e522a00b91aa
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/ after NPG - C++ build works
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 12 Nov 2012 23:14:12 +0100 |
parents | da91efe96a93 |
children | f99cd6e20ab1 |
comparison
equal
deleted
inserted
replaced
6711:ae13cc658b80 | 6948:e522a00b91aa |
---|---|
105 const char* perf_data_name, int level); | 105 const char* perf_data_name, int level); |
106 | 106 |
107 PSOldGen(size_t initial_size, size_t min_size, size_t max_size, | 107 PSOldGen(size_t initial_size, size_t min_size, size_t max_size, |
108 const char* perf_data_name, int level); | 108 const char* perf_data_name, int level); |
109 | 109 |
110 void initialize(ReservedSpace rs, size_t alignment, | 110 virtual void initialize(ReservedSpace rs, size_t alignment, |
111 const char* perf_data_name, int level); | 111 const char* perf_data_name, int level); |
112 void initialize_virtual_space(ReservedSpace rs, size_t alignment); | 112 void initialize_virtual_space(ReservedSpace rs, size_t alignment); |
113 void initialize_work(const char* perf_data_name, int level); | 113 void initialize_work(const char* perf_data_name, int level); |
114 virtual void initialize_performance_counters(const char* perf_data_name, int level); | |
114 | 115 |
115 MemRegion reserved() const { return _reserved; } | 116 MemRegion reserved() const { return _reserved; } |
116 virtual size_t max_gen_size() { return _max_gen_size; } | 117 virtual size_t max_gen_size() { return _max_gen_size; } |
117 size_t min_gen_size() { return _min_gen_size; } | 118 size_t min_gen_size() { return _min_gen_size; } |
118 | 119 |
164 // Allocation. We report all successful allocations to the size policy | 165 // Allocation. We report all successful allocations to the size policy |
165 // Note that the perm gen does not use this method, and should not! | 166 // Note that the perm gen does not use this method, and should not! |
166 HeapWord* allocate(size_t word_size); | 167 HeapWord* allocate(size_t word_size); |
167 | 168 |
168 // Iteration. | 169 // Iteration. |
169 void oop_iterate(OopClosure* cl) { object_space()->oop_iterate(cl); } | 170 void oop_iterate_no_header(OopClosure* cl) { object_space()->oop_iterate_no_header(cl); } |
170 void object_iterate(ObjectClosure* cl) { object_space()->object_iterate(cl); } | 171 void object_iterate(ObjectClosure* cl) { object_space()->object_iterate(cl); } |
171 | 172 |
172 // Debugging - do not use for time critical operations | 173 // Debugging - do not use for time critical operations |
173 virtual void print() const; | 174 virtual void print() const; |
174 virtual void print_on(outputStream* st) const; | 175 virtual void print_on(outputStream* st) const; |