mirror of
https://github.com/servo/servo.git
synced 2025-06-19 14:48:59 +01:00
Currently when we measure various Arc<Locked<T>> fields we don't measure the T itself, but only the descendants of the T. This patch fixes this. This fix requires introducing a new trait, MallocUnconditionalShallowSizeOf, which is implemented for servo_arc::Arc. A similar trait, MallocConditionalShallowSizeOf, is also introduced, though it has no uses as yet. |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs | ||
LICENSE-APACHE | ||
LICENSE-MIT |