< prev index next >

src/hotspot/share/gc/g1/g1Policy.hpp

Print this page
rev 47451 : imported patch 8189729-perc-naming


  72   virtual void cset_regions_freed() = 0;
  73 
  74   virtual G1MMUTracker* mmu_tracker() = 0;
  75 
  76   virtual const G1MMUTracker* mmu_tracker() const = 0;
  77 
  78   virtual double max_pause_time_ms() const = 0;
  79 
  80   virtual size_t pending_cards() const = 0;
  81 
  82   // Calculate the minimum number of old regions we'll add to the CSet
  83   // during a mixed GC.
  84   virtual uint calc_min_old_cset_length() const = 0;
  85 
  86   // Calculate the maximum number of old regions we'll add to the CSet
  87   // during a mixed GC.
  88   virtual uint calc_max_old_cset_length() const = 0;
  89 
  90   // Returns the given amount of uncollected reclaimable space
  91   // as a percentage of the current heap capacity.
  92   virtual double reclaimable_bytes_perc(size_t reclaimable_bytes) const = 0;
  93 
  94   virtual ~G1Policy() {}
  95 
  96   virtual G1CollectorState* collector_state() const = 0;
  97 
  98   virtual G1GCPhaseTimes* phase_times() const = 0;
  99 
 100   // Check the current value of the young list RSet lengths and
 101   // compare it against the last prediction. If the current value is
 102   // higher, recalculate the young list target length prediction.
 103   virtual void revise_young_list_target_length_if_necessary(size_t rs_lengths) = 0;
 104 
 105   // This should be called after the heap is resized.
 106   virtual void record_new_heap_size(uint new_number_of_regions) = 0;
 107 
 108   virtual void init(G1CollectedHeap* g1h, G1CollectionSet* collection_set) = 0;
 109 
 110   virtual void note_gc_start() = 0;
 111 
 112   virtual bool need_to_start_conc_mark(const char* source, size_t alloc_word_size = 0) = 0;




  72   virtual void cset_regions_freed() = 0;
  73 
  74   virtual G1MMUTracker* mmu_tracker() = 0;
  75 
  76   virtual const G1MMUTracker* mmu_tracker() const = 0;
  77 
  78   virtual double max_pause_time_ms() const = 0;
  79 
  80   virtual size_t pending_cards() const = 0;
  81 
  82   // Calculate the minimum number of old regions we'll add to the CSet
  83   // during a mixed GC.
  84   virtual uint calc_min_old_cset_length() const = 0;
  85 
  86   // Calculate the maximum number of old regions we'll add to the CSet
  87   // during a mixed GC.
  88   virtual uint calc_max_old_cset_length() const = 0;
  89 
  90   // Returns the given amount of uncollected reclaimable space
  91   // as a percentage of the current heap capacity.
  92   virtual double reclaimable_bytes_percent(size_t reclaimable_bytes) const = 0;
  93 
  94   virtual ~G1Policy() {}
  95 
  96   virtual G1CollectorState* collector_state() const = 0;
  97 
  98   virtual G1GCPhaseTimes* phase_times() const = 0;
  99 
 100   // Check the current value of the young list RSet lengths and
 101   // compare it against the last prediction. If the current value is
 102   // higher, recalculate the young list target length prediction.
 103   virtual void revise_young_list_target_length_if_necessary(size_t rs_lengths) = 0;
 104 
 105   // This should be called after the heap is resized.
 106   virtual void record_new_heap_size(uint new_number_of_regions) = 0;
 107 
 108   virtual void init(G1CollectedHeap* g1h, G1CollectionSet* collection_set) = 0;
 109 
 110   virtual void note_gc_start() = 0;
 111 
 112   virtual bool need_to_start_conc_mark(const char* source, size_t alloc_word_size = 0) = 0;


< prev index next >