servo/components/malloc_size_of
Nicholas Nethercote 779fbda81d Measure Arc<Locked<T>> fields properly.
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.
2017-09-12 16:36:28 +10:00
..
Cargo.toml Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
lib.rs Measure Arc<Locked<T>> fields properly. 2017-09-12 16:36:28 +10:00
LICENSE-APACHE Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
LICENSE-MIT Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00