src/share/vm/services/lowMemoryDetector.hpp

changeset 3900
d2a62e0f25eb
parent 2511
bf8517f4e4d0
child 4153
b9a9ed0f8eeb
equal deleted inserted replaced
3877:74533f63b116 3900:d2a62e0f25eb
61 // Memory detection code runs in the Service thread (serviceThread.hpp). 61 // Memory detection code runs in the Service thread (serviceThread.hpp).
62 62
63 class OopClosure; 63 class OopClosure;
64 class MemoryPool; 64 class MemoryPool;
65 65
66 class ThresholdSupport : public CHeapObj { 66 class ThresholdSupport : public CHeapObj<mtInternal> {
67 private: 67 private:
68 bool _support_high_threshold; 68 bool _support_high_threshold;
69 bool _support_low_threshold; 69 bool _support_low_threshold;
70 size_t _high_threshold; 70 size_t _high_threshold;
71 size_t _low_threshold; 71 size_t _low_threshold;
110 _low_threshold = new_threshold; 110 _low_threshold = new_threshold;
111 return prev; 111 return prev;
112 } 112 }
113 }; 113 };
114 114
115 class SensorInfo : public CHeapObj { 115 class SensorInfo : public CHeapObj<mtInternal> {
116 private: 116 private:
117 instanceOop _sensor_obj; 117 instanceOop _sensor_obj;
118 bool _sensor_on; 118 bool _sensor_on;
119 size_t _sensor_count; 119 size_t _sensor_count;
120 120

mercurial