hotspot/src/share/vm/gc/g1/g1Policy.hpp
changeset 38109 6503703df058
parent 38106 da14ba2f0cd9
child 38183 cb68e4923223
equal deleted inserted replaced
38108:95c7e9d6747c 38109:6503703df058
    55   // Add the given number of bytes to the total number of allocated bytes in the old gen.
    55   // Add the given number of bytes to the total number of allocated bytes in the old gen.
    56   virtual void add_bytes_allocated_in_old_since_last_gc(size_t bytes) = 0;
    56   virtual void add_bytes_allocated_in_old_since_last_gc(size_t bytes) = 0;
    57 
    57 
    58   // Accessors
    58   // Accessors
    59 
    59 
    60   virtual void set_region_eden(HeapRegion* hr, int young_index_in_cset) = 0;
    60   virtual void set_region_eden(HeapRegion* hr) = 0;
    61   virtual void set_region_survivor(HeapRegion* hr, int young_index_in_cset) = 0;
    61   virtual void set_region_survivor(HeapRegion* hr) = 0;
    62 
    62 
    63   virtual void record_max_rs_lengths(size_t rs_lengths) = 0;
    63   virtual void record_max_rs_lengths(size_t rs_lengths) = 0;
    64 
    64 
    65   virtual double predict_base_elapsed_time_ms(size_t pending_cards) const = 0;
    65   virtual double predict_base_elapsed_time_ms(size_t pending_cards) const = 0;
    66   virtual double predict_base_elapsed_time_ms(size_t pending_cards,
    66   virtual double predict_base_elapsed_time_ms(size_t pending_cards,