Lines Matching defs:pool
45 MemoryPool* pool = MemoryService::get_memory_pool(i);
46 SensorInfo* sensor = pool->usage_sensor();
51 SensorInfo* gc_sensor = pool->gc_usage_sensor();
66 MemoryPool* pool = MemoryService::get_memory_pool(i);
67 SensorInfo* sensor = pool->usage_sensor();
68 SensorInfo* gc_sensor = pool->gc_usage_sensor();
86 MemoryPool* pool = MemoryService::get_memory_pool(i);
87 SensorInfo* sensor = pool->usage_sensor();
89 pool->usage_threshold()->is_high_threshold_supported() &&
90 pool->usage_threshold()->high_threshold() != 0) {
91 MemoryUsage usage = pool->get_memory_usage();
93 pool->usage_threshold());
105 void LowMemoryDetector::detect_low_memory(MemoryPool* pool) {
106 SensorInfo* sensor = pool->usage_sensor();
108 !pool->usage_threshold()->is_high_threshold_supported() ||
109 pool->usage_threshold()->high_threshold() == 0) {
116 MemoryUsage usage = pool->get_memory_usage();
118 pool->usage_threshold());
127 void LowMemoryDetector::detect_after_gc_memory(MemoryPool* pool) {
128 SensorInfo* sensor = pool->gc_usage_sensor();
130 !pool->gc_usage_threshold()->is_high_threshold_supported() ||
131 pool->gc_usage_threshold()->high_threshold() == 0) {
138 MemoryUsage usage = pool->get_last_collection_usage();
139 sensor->set_counter_sensor_level(usage, pool->gc_usage_threshold());
153 MemoryPool* pool = MemoryService::get_memory_pool(i);
154 if (pool->is_collected_pool() && is_enabled(pool)) {