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; |