(&self, consumer: &MemoryConsumer)
| 205 | } |
| 206 | |
| 207 | fn register(&self, consumer: &MemoryConsumer) { |
| 208 | if consumer.can_spill { |
| 209 | self.state.lock().num_spill += 1; |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | fn unregister(&self, consumer: &MemoryConsumer) { |
| 214 | if consumer.can_spill { |