hotspot/src/share/vm/gc_implementation/g1/g1MMUTracker.hpp
changeset 2013 49e915da0905
parent 1374 4c24294029a9
child 2105 347008ce7984
equal deleted inserted replaced
2012:041fbc6030dd 2013:49e915da0905
    26 // and for how long so that the MMU invariants are maintained.
    26 // and for how long so that the MMU invariants are maintained.
    27 
    27 
    28 /***** ALL TIMES ARE IN SECS!!!!!!! *****/
    28 /***** ALL TIMES ARE IN SECS!!!!!!! *****/
    29 
    29 
    30 // this is the "interface"
    30 // this is the "interface"
    31 class G1MMUTracker {
    31 class G1MMUTracker: public CHeapObj {
    32 protected:
    32 protected:
    33   double          _time_slice;
    33   double          _time_slice;
    34   double          _max_gc_time; // this is per time slice
    34   double          _max_gc_time; // this is per time slice
    35 
    35 
    36   double          _conc_overhead_time_sec;
    36   double          _conc_overhead_time_sec;
    65     double when = when_sec(current_time, pause_time);
    65     double when = when_sec(current_time, pause_time);
    66     return (jlong) (when * 1000.0);
    66     return (jlong) (when * 1000.0);
    67   }
    67   }
    68 };
    68 };
    69 
    69 
    70 class G1MMUTrackerQueueElem {
    70 class G1MMUTrackerQueueElem VALUE_OBJ_CLASS_SPEC {
    71 private:
    71 private:
    72   double _start_time;
    72   double _start_time;
    73   double _end_time;
    73   double _end_time;
    74 
    74 
    75 public:
    75 public: