Closed Bug 1556762 Opened 5 years ago Closed 5 years ago

Add another gcReason to distiguish FULL_CELL_PTR_BUFFER gcReason

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: allstars.chh, Assigned: allstars.chh)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

In bug 1376646 I use separate MonotypeBuffer for storing JSString and JSOBject respectively, however, both buffers still use the same gcReason. This bug is to use different gcReason for both of them.

This simply separates pretenuring code to another function
doPretenuring(), it doesn't change logic.

Pushed by allstars.chh@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/48086502d67c
Part 1: move FullBufferReason to each instance, and add a new GCReason. r=sfink
https://hg.mozilla.org/integration/mozilla-inbound/rev/f74195d7072e
Part 2 : move code to doPretenuring(). r=sfink
https://hg.mozilla.org/integration/mozilla-inbound/rev/1052572788c6
Part 3: Use gcReason to distinguish pretenureObj|Str. r=sfink
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: