Closed Bug 1001694 Opened 10 years ago Closed 9 years ago

[jsdbg2] Implement an allocation counting api

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

We should have an API for getting allocation counts grouped by the youngest frame's {url,line,column}. This should be stored on ScriptSource[Object] (not sure which) and exposed via Debugger.Source.

This can be implemented in the saved stacks metadata callback.
Because we always want to aggregate allocation stacks into a tree, and always want to be able to create a tree view with allocations only from the currently selected region in the profile recording, we need to do the list-of-allocations => tree-of-allocations at the JS level because we always need the full list of allocations.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.