Closed Bug 1521764 Opened 5 years ago Closed 3 years ago

Refactor Zone.h to make malloc allocation on the Zone less heavyweight

Categories

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

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1395509
Tracking Status
firefox66 --- affected

People

(Reporter: jonco, Unassigned)

Details

A bunch of stuff needs to allocate malloc memory associated with a Zone and at the moment this means including Zone.h which pulls in half the GC and all sorts of other unrelated things. It would be great if we could factor out memory allocation somehow. I don't know what the best way to do this is.

This happened as part of bug 1395509, creating gc/ZoneAllocator.h.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.