src/share/vm/gc_implementation/parallelScavenge/psOldGen.hpp

changeset 4037
da91efe96a93
parent 3900
d2a62e0f25eb
child 5311
f99cd6e20ab1
equal deleted inserted replaced
4036:36d1d483d5d6 4037:da91efe96a93
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;

mercurial