+4
−4
+55
−26
Loading
The refcount is only used for dynamic atoms. On 64-bit, this reduces sizeof(nsStaticAtom) from 24 bytes to 16 bytes, and the on-heap size from 32 bytes to 16 bytes. This saves 42 KiB per process. On 32-bit, this reduces sizeof(nsStaticAtom) from 16 bytes to 12 bytes, but the on-heap size stays at 16 bytes, so memory usage is unchanged. MozReview-Commit-ID: 7d9H7MRHN9a --HG-- extra : rebase_source : d3eafb3aaf44a592afd6c89cd0519d043056e65a