Print this page
G1: Use SoftMaxHeapSize to guide GC heuristics

@@ -75,10 +75,12 @@
   // the first mixed gc.
   virtual void update_marking_length(double marking_length_s) = 0;
 
   virtual void print();
   virtual void send_trace_event(G1NewTracer* tracer);
+
+  virtual size_t predict_unstrained_buffer_size() const { return 0; }
 };
 
 // The returned concurrent mark starting occupancy threshold is a fixed value
 // relative to the maximum heap size.
 class G1StaticIHOPControl : public G1IHOPControl {

@@ -145,8 +147,9 @@
   virtual void update_allocation_info(double allocation_time_s, size_t allocated_bytes, size_t additional_buffer_size);
   virtual void update_marking_length(double marking_length_s);
 
   virtual void print();
   virtual void send_trace_event(G1NewTracer* tracer);
+  virtual size_t predict_unstrained_buffer_size() const;
 };
 
 #endif // SHARE_GC_G1_G1IHOPCONTROL_HPP