hotspot/src/share/vm/runtime/task.hpp
changeset 13195 be27e1b6a4b9
parent 7397 5b173b4ca846
child 13963 e5b53c306fb5
equal deleted inserted replaced
13099:64752e56d721 13195:be27e1b6a4b9
    33 //   PeriodicTask pf(10);
    33 //   PeriodicTask pf(10);
    34 //   pf.enroll();
    34 //   pf.enroll();
    35 //   ...
    35 //   ...
    36 //   pf.disenroll();
    36 //   pf.disenroll();
    37 
    37 
    38 class PeriodicTask: public CHeapObj {
    38 class PeriodicTask: public CHeapObj<mtInternal> {
    39  public:
    39  public:
    40   // Useful constants.
    40   // Useful constants.
    41   // The interval constants are used to ensure the declared interval
    41   // The interval constants are used to ensure the declared interval
    42   // is appropriate;  it must be between min_interval and max_interval,
    42   // is appropriate;  it must be between min_interval and max_interval,
    43   // and have a granularity of interval_gran (all in millis).
    43   // and have a granularity of interval_gran (all in millis).