Closed Bug 1527742 Opened 6 years ago Closed 6 years ago

We should always decommit memory when doing a shrinking GC

Categories

(Core :: JavaScript: GC, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

This condition can be true even if we're doing shrinking GCs:

https://searchfox.org/mozilla-central/rev/cb7faaf6b4ad2528390186f1ce64618dea71031e/js/src/gc/GC.cpp#3415-3417

Fixing this wins at least 4 MB on AWSY's JS Opt number.

This wins at least 4 MB on AWSY's JS Opt number because we could have a lot of
unused arenas.

Whiteboard: [MemShrink]
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/90ac938bc5a3
Don't skip decommitting memory when we are doing a shrinking GC. r=sfink
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Depends on: 1528763

Noticed some AWSY improvements! \0/
Part of them can also be attributed to bug 1433007.

== Change summary for alert #19385 (as of Fri, 15 Feb 2019 01:17:29 GMT) ==

Improvements:

6% JS windows10-64 pgo stylo 114,532,852.70 -> 108,228,275.58
3% Explicit Memory windows10-64 pgo stylo 327,603,748.07 -> 318,870,647.75

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=19385

== Change summary for alert #19564 (as of Fri, 22 Feb 2019 06:32:34 GMT) ==

Improvements:

5% JS linux64-stylo-sequential opt stylo-sequential 113,904,145.01 -> 108,580,789.31

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=19564

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: