comparison src/share/vm/services/lowMemoryDetector.hpp @ 6275:957c266d8bc5

Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Tue, 21 Aug 2012 10:39:19 +0200
parents d2a62e0f25eb
children b9a9ed0f8eeb
comparison
equal deleted inserted replaced
5891:fd8832ae511d 6275:957c266d8bc5
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