< prev index next >

src/share/vm/memory/genCollectedHeap.hpp

Print this page




 314   }
 315 
 316   // Update above counter, as appropriate, at the end of a stop-world GC cycle
 317   unsigned int update_full_collections_completed();
 318   // Update above counter, as appropriate, at the end of a concurrent GC cycle
 319   unsigned int update_full_collections_completed(unsigned int count);
 320 
 321   // Update "time of last gc" for all generations to "now".
 322   void update_time_of_last_gc(jlong now) {
 323     _young_gen->update_time_of_last_gc(now);
 324     _old_gen->update_time_of_last_gc(now);
 325   }
 326 
 327   // Update the gc statistics for each generation.
 328   // "level" is the level of the latest collection.
 329   void update_gc_stats(int current_level, bool full) {
 330     _young_gen->update_gc_stats(current_level, full);
 331     _old_gen->update_gc_stats(current_level, full);
 332   }
 333 
 334   // Override.
 335   bool no_gc_in_progress() { return !is_gc_active(); }
 336 
 337   // Override.
 338   void prepare_for_verify();
 339 
 340   // Override.
 341   void verify(bool silent, VerifyOption option);
 342 
 343   // Override.
 344   virtual void print_on(outputStream* st) const;
 345   virtual void print_gc_threads_on(outputStream* st) const;
 346   virtual void gc_threads_do(ThreadClosure* tc) const;
 347   virtual void print_tracing_info() const;
 348   virtual void print_on_error(outputStream* st) const;
 349 
 350   // PrintGC, PrintGCDetails support
 351   void print_heap_change(size_t prev_used) const;
 352 
 353   // The functions below are helper functions that a subclass of
 354   // "CollectedHeap" can use in the implementation of its virtual




 314   }
 315 
 316   // Update above counter, as appropriate, at the end of a stop-world GC cycle
 317   unsigned int update_full_collections_completed();
 318   // Update above counter, as appropriate, at the end of a concurrent GC cycle
 319   unsigned int update_full_collections_completed(unsigned int count);
 320 
 321   // Update "time of last gc" for all generations to "now".
 322   void update_time_of_last_gc(jlong now) {
 323     _young_gen->update_time_of_last_gc(now);
 324     _old_gen->update_time_of_last_gc(now);
 325   }
 326 
 327   // Update the gc statistics for each generation.
 328   // "level" is the level of the latest collection.
 329   void update_gc_stats(int current_level, bool full) {
 330     _young_gen->update_gc_stats(current_level, full);
 331     _old_gen->update_gc_stats(current_level, full);
 332   }
 333 

 334   bool no_gc_in_progress() { return !is_gc_active(); }
 335 
 336   // Override.
 337   void prepare_for_verify();
 338 
 339   // Override.
 340   void verify(bool silent, VerifyOption option);
 341 
 342   // Override.
 343   virtual void print_on(outputStream* st) const;
 344   virtual void print_gc_threads_on(outputStream* st) const;
 345   virtual void gc_threads_do(ThreadClosure* tc) const;
 346   virtual void print_tracing_info() const;
 347   virtual void print_on_error(outputStream* st) const;
 348 
 349   // PrintGC, PrintGCDetails support
 350   void print_heap_change(size_t prev_used) const;
 351 
 352   // The functions below are helper functions that a subclass of
 353   // "CollectedHeap" can use in the implementation of its virtual


< prev index next >