Closed Bug 658137 Opened 14 years ago Closed 14 years ago

Add API for iterating over the entire GC heap

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: n.nethercote, Assigned: billm)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Attached patch patchSplinter Review
This is spun off from bug 571249, which will use the API to count how much heap memory is used by object slot arrays and string characters.

I'm carrying over the r+ from Igor, and adding my own r+ for the minor changes that have happened since Igor's review (the per-kind and per-compartment restrictions, and hoisting the GetFinalizableTraceKind call out of the loop).
Attachment #533491 - Flags: review+
If 656261 lands in the meantime, this patch'll need updating.

I really want to land this before cdleary does the TM-to-mc merge on Friday, so that bug 571249 can make it into Firefox 6.  Hopefully we three (njn, igor, billm) can co-ordinate things so this happens.
Blocks: 571249
Depends on: 656261
(In reply to comment #1)
> If 656261 lands in the meantime, this patch'll need updating.

It looks I need more work with the patch for the bug 656261. If I will fix it today, I will update the patch here as well. If not, just proceed with landing here.
http://hg.mozilla.org/tracemonkey/rev/fc1369652e84
Whiteboard: fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: