(self)
| 369 | /// [`CollectionPhase::Sweeping`]. |
| 370 | #[inline] |
| 371 | pub fn start_sweeping(self) { |
| 372 | unsafe { |
| 373 | self.0.context.do_collection( |
| 374 | &self.0.root, |
| 375 | f64::NEG_INFINITY, |
| 376 | Some(EarlyStop::AfterSweep), |
| 377 | ); |
| 378 | } |
| 379 | assert_eq!(self.0.context.phase(), Phase::Sweep); |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | /// Create a temporary arena without a root object and perform the given operation on it. |
no test coverage detected