212 void object_iterate(ObjectClosure* cl);
213 void safe_object_iterate(ObjectClosure* cl) { object_iterate(cl); }
214
215 HeapWord* block_start(const void* addr) const;
216 bool block_is_obj(const HeapWord* addr) const;
217
218 jlong millis_since_last_gc();
219
220 void prepare_for_verify();
221 PSHeapSummary create_ps_heap_summary();
222 virtual void print_on(outputStream* st) const;
223 virtual void print_on_error(outputStream* st) const;
224 virtual void print_gc_threads_on(outputStream* st) const;
225 virtual void gc_threads_do(ThreadClosure* tc) const;
226 virtual void print_tracing_info() const;
227
228 PreGenGCValues get_pre_gc_values() const;
229 void print_heap_change(const PreGenGCValues& pre_gc_values) const;
230
231 // Used to print information about locations in the hs_err file.
232 virtual bool print_location(outputStream* st, address addr) const;
233
234 void verify(VerifyOption option /* ignored */);
235
236 // Resize the young generation. The reserved space for the
237 // generation may be expanded in preparation for the resize.
238 void resize_young_gen(size_t eden_size, size_t survivor_size);
239
240 // Resize the old generation. The reserved space for the
241 // generation may be expanded in preparation for the resize.
242 void resize_old_gen(size_t desired_free_space);
243
244 // Save the tops of the spaces in all generations
245 void record_gen_tops_before_GC() PRODUCT_RETURN;
246
247 // Mangle the unused parts of all spaces in the heap
248 void gen_mangle_unused_area() PRODUCT_RETURN;
249
250 // Call these in sequential code around the processing of strong roots.
251 class ParStrongRootsScope : public MarkScope {
252 public:
|
212 void object_iterate(ObjectClosure* cl);
213 void safe_object_iterate(ObjectClosure* cl) { object_iterate(cl); }
214
215 HeapWord* block_start(const void* addr) const;
216 bool block_is_obj(const HeapWord* addr) const;
217
218 jlong millis_since_last_gc();
219
220 void prepare_for_verify();
221 PSHeapSummary create_ps_heap_summary();
222 virtual void print_on(outputStream* st) const;
223 virtual void print_on_error(outputStream* st) const;
224 virtual void print_gc_threads_on(outputStream* st) const;
225 virtual void gc_threads_do(ThreadClosure* tc) const;
226 virtual void print_tracing_info() const;
227
228 PreGenGCValues get_pre_gc_values() const;
229 void print_heap_change(const PreGenGCValues& pre_gc_values) const;
230
231 // Used to print information about locations in the hs_err file.
232 virtual bool print_location(outputStream* st, void* addr) const;
233
234 void verify(VerifyOption option /* ignored */);
235
236 // Resize the young generation. The reserved space for the
237 // generation may be expanded in preparation for the resize.
238 void resize_young_gen(size_t eden_size, size_t survivor_size);
239
240 // Resize the old generation. The reserved space for the
241 // generation may be expanded in preparation for the resize.
242 void resize_old_gen(size_t desired_free_space);
243
244 // Save the tops of the spaces in all generations
245 void record_gen_tops_before_GC() PRODUCT_RETURN;
246
247 // Mangle the unused parts of all spaces in the heap
248 void gen_mangle_unused_area() PRODUCT_RETURN;
249
250 // Call these in sequential code around the processing of strong roots.
251 class ParStrongRootsScope : public MarkScope {
252 public:
|