< prev index next >

src/share/vm/gc/g1/g1CollectorPolicy.hpp

Print this page
rev 9277 : imported patch 8140597-forcing-initial-mark-causes-abort-mixed-collections


 553   void record_new_heap_size(uint new_number_of_regions);
 554 
 555   void init();
 556 
 557   virtual void note_gc_start(uint num_active_workers);
 558 
 559   // Create jstat counters for the policy.
 560   virtual void initialize_gc_policy_counters();
 561 
 562   virtual HeapWord* mem_allocate_work(size_t size,
 563                                       bool is_tlab,
 564                                       bool* gc_overhead_limit_was_exceeded);
 565 
 566   // This method controls how a collector handles one or more
 567   // of its generations being fully allocated.
 568   virtual HeapWord* satisfy_failed_allocation(size_t size,
 569                                               bool is_tlab);
 570 
 571   bool need_to_start_conc_mark(const char* source, size_t alloc_word_size = 0);
 572 


 573   // Record the start and end of an evacuation pause.
 574   void record_collection_pause_start(double start_time_sec);
 575   void record_collection_pause_end(double pause_time_ms, size_t cards_scanned);
 576 
 577   // Record the start and end of a full collection.
 578   void record_full_collection_start();
 579   void record_full_collection_end();
 580 
 581   // Must currently be called while the world is stopped.
 582   void record_concurrent_mark_init_end(double mark_init_elapsed_time_ms);
 583 
 584   // Record start and end of remark.
 585   void record_concurrent_mark_remark_start();
 586   void record_concurrent_mark_remark_end();
 587 
 588   // Record start, end, and completion of cleanup.
 589   void record_concurrent_mark_cleanup_start();
 590   void record_concurrent_mark_cleanup_end();
 591   void record_concurrent_mark_cleanup_completed();
 592 




 553   void record_new_heap_size(uint new_number_of_regions);
 554 
 555   void init();
 556 
 557   virtual void note_gc_start(uint num_active_workers);
 558 
 559   // Create jstat counters for the policy.
 560   virtual void initialize_gc_policy_counters();
 561 
 562   virtual HeapWord* mem_allocate_work(size_t size,
 563                                       bool is_tlab,
 564                                       bool* gc_overhead_limit_was_exceeded);
 565 
 566   // This method controls how a collector handles one or more
 567   // of its generations being fully allocated.
 568   virtual HeapWord* satisfy_failed_allocation(size_t size,
 569                                               bool is_tlab);
 570 
 571   bool need_to_start_conc_mark(const char* source, size_t alloc_word_size = 0);
 572 
 573   bool about_to_start_mixed_phase() const;
 574 
 575   // Record the start and end of an evacuation pause.
 576   void record_collection_pause_start(double start_time_sec);
 577   void record_collection_pause_end(double pause_time_ms, size_t cards_scanned);
 578 
 579   // Record the start and end of a full collection.
 580   void record_full_collection_start();
 581   void record_full_collection_end();
 582 
 583   // Must currently be called while the world is stopped.
 584   void record_concurrent_mark_init_end(double mark_init_elapsed_time_ms);
 585 
 586   // Record start and end of remark.
 587   void record_concurrent_mark_remark_start();
 588   void record_concurrent_mark_remark_end();
 589 
 590   // Record start, end, and completion of cleanup.
 591   void record_concurrent_mark_cleanup_start();
 592   void record_concurrent_mark_cleanup_end();
 593   void record_concurrent_mark_cleanup_completed();
 594 


< prev index next >