Bug 1839427 - Add zone, compartment and realm counts to the GC profile output r=sfink
commit78f10a63485c9b4319b170bf0cea5226d709c176
authorJon Coppeard <jcoppeard@mozilla.com>
Wed, 21 Jun 2023 07:16:11 +0000 (21 07:16 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Wed, 21 Jun 2023 07:16:11 +0000 (21 07:16 +0000)
treefa43cf74cb45ac7d058f92e0416fd8fe1768dd41
parent3a086ed3a706bab974f97a92a139483bee770b6f
Bug 1839427 - Add zone, compartment and realm counts to the GC profile output r=sfink

This makes it easier to see when there are more of these than expected.

The patch also removes some little-used data from the profile output that's almost
always zero and added a field for the deommit phase, so the output lines up
with the major phases of the GC.

Differential Revision: https://phabricator.services.mozilla.com/D181503
js/src/gc/GC.cpp
js/src/gc/Statistics.cpp
js/src/gc/Statistics.h