< prev index next >

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

Print this page
rev 9431 : dihop-changes
rev 9432 : imported patch sihop-thomas-review
rev 9433 : imported patch erik-jmasa-review
rev 9434 : imported patch fix-evac-failure-needs-stats
rev 9436 : [mq]: 8136678-implement-adaptive-sizing-algorithm-for-IHOP
rev 9438 : imported patch erik-jon-review2
rev 9439 : imported patch further-jon-reviews
rev 9440 : [mq]: mikael-review

@@ -104,11 +104,11 @@
 // initial mark and the first mixed gc.
 class G1AdaptiveIHOPControl : public G1IHOPControl {
   size_t _heap_reserve_percent; // Percentage of maximum heap capacity we should avoid to touch
   size_t _heap_waste_percent;   // Percentage of free heap that should be considered as waste.
 
-  G1Predictions const * _predictor;
+  const G1Predictions * _predictor;
 
   TruncatedSeq _marking_times_s;
   TruncatedSeq _allocation_rate_s;
 
   size_t _last_allocation_bytes; // Most recent mutator allocation since last GC.

@@ -134,12 +134,10 @@
                         size_t initial_target_occupancy,
                         G1Predictions const* predictor,
                         size_t heap_reserve_percent, // The percentage of total heap capacity that should not be tapped into.
                         size_t heap_waste_percent);  // The percentage of the free space in the heap that we think is not usable for allocation.
 
-  virtual void set_target_occupancy(size_t target_occupancy);
-
   virtual size_t get_conc_mark_start_threshold();
 
   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);
 
< prev index next >