(&self, bytes: usize)
| 233 | |
| 234 | #[inline] |
| 235 | pub(crate) fn mark_gc_allocated(&self, bytes: usize) { |
| 236 | cell_update(&self.0.total_gcs, |c| c + 1); |
| 237 | cell_update(&self.0.total_gc_bytes, |b| b + bytes); |
| 238 | cell_update(&self.0.allocated_gc_bytes, |b| b.saturating_add(bytes)); |
| 239 | } |
| 240 | |
| 241 | #[inline] |
| 242 | pub(crate) fn mark_gc_traced(&self, bytes: usize) { |