The past week was fairly quiet for MemShrink.
Our testing of the top 100 installed add-ons is progressing slowly. We need more help here. Please join in if you are interested!
The Image Zoom and Baow add-ons were downgraded to “preliminarily reviewed” status because they cause zombie compartments, as per the new AMO policy. The main effect of the downgrade is that they’ll show up lower in AMO search results.
I modified the storage of CSS properties and values to minimize waste caused by alignment. On 64-bit platforms this reduced the size of a property/value pair from 24 bytes to 18 bytes, which saves about 0.5MB for an instance of Gmail. (Gmail uses a lots of CSS!) On 32-bit platforms the reduction is 1/3 the size, with a property/value pair dropping from 12 to 10 bytes.
Justin Lebar capped the amount of memory used for decoded images. Decoded images in background tabs are currently discarded 20-40 seconds after they stop being visible in the foreground tab. With Justin’s patch, there is now a second criterion: if the decoded image cap is exceeded, decoded images in background tabs will be discarded until the cap is met. (Decoded images in the foreground tab are never discarded, so it’s possible that all decoded images in background tabs are discarded and the cap is still exceeded.) The cap defaults to 50MiB, but it can be changed in about:config with the
image.mem.max_decoded_image_kb option. The main effect of this change is that decoded images in background tabs will be discarded more quickly than they used to be in some circumstances.
This week’s bug counts:
- P1: 22 (-2/+0)
- P2: 129 (-6/+3)
- P3: 92 (-3/+3)
- Unprioritized: 0 (-0/+0)
That’s a net reduction of five bugs! Furthermore, we only had five bugs to triage in today’s MemShrink meeting. Good signs.