Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1MMUTracker.hpp @ 549:fe3d7c11b4b7
6700941: G1: allocation spec missing for some G1 classes
Reviewed-by: tonyp
author | apetrusenko |
---|---|
date | Tue, 10 Feb 2009 18:39:09 +0300 |
parents | 37f87013dfd8 |
children | 0fbdb4381b99 |
comparison
equal
deleted
inserted
replaced
548:773234c55e8c | 549:fe3d7c11b4b7 |
---|---|
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: |