< prev index next >

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

Print this page
rev 57998 : [mq]: softmaxheapsize2

@@ -287,10 +287,11 @@
   // Indicate that we aborted marking before doing any mixed GCs.
   void abort_time_to_mixed_tracking();
 
   void record_concurrent_refinement_data(bool is_full_collection);
 
+  void record_new_target_heap_size(uint new_number_of_regions, uint reserve_regions);
 public:
 
   G1Policy(STWGCTimer* gc_timer);
 
   virtual ~G1Policy();

@@ -304,12 +305,13 @@
   // Check the current value of the young list RSet length and
   // compare it against the last prediction. If the current value is
   // higher, recalculate the young list target length prediction.
   void revise_young_list_target_length_if_necessary(size_t rs_length);
 
-  // This should be called after the heap is resized.
-  void record_new_heap_size(uint new_number_of_regions);
+  // Updates heap size targets taking current heap dimensions into account. This should
+  // be called after changes to the sizes of the heap.
+  void update_heap_target_size(uint num_regions, uint soft_goal_num_regions);
 
   virtual void init(G1CollectedHeap* g1h, G1CollectionSet* collection_set);
 
   void note_gc_start();
 
< prev index next >