Closed Bug 1578466 Opened 6 years ago Closed 6 years ago

Refactor duplicate GC logic to check whether we reached one of our thresholds

Categories

(Core :: JavaScript: GC, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

The code in GCRuntime::maybeAllocTriggerZoneGC and maybeMallocTriggerZoneGC to check whether we passed a threshould and need to do a GC is pretty similar in both cases. It would be great to factor this out. (Also, I hate these names but that's for another bug.)

Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/18f2350a42d7 Refactor logic to check whether a GC threshold has been reached to reduce duplication r=sfink
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: