Record buffer pool memory allocation
(&self, bytes: u64)
| 161 | |
| 162 | /// Record buffer pool memory allocation |
| 163 | pub fn record_buffer_allocation(&self, bytes: u64) { |
| 164 | self.buffer_pool_bytes.fetch_add(bytes, Ordering::Relaxed); |
| 165 | self.check_memory_pressure(); |
| 166 | } |
| 167 | |
| 168 | /// Record buffer pool memory deallocation |
| 169 | pub fn record_buffer_deallocation(&self, bytes: u64) { |