Open Bug 1068990 Opened 6 years ago Updated 5 years ago

[jsdbg2] Add string allocations to the allocations log

Categories

(Core :: JavaScript Engine, defect, P3)

x86
macOS
defect

Tracking

()

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gaming-tools])

Right now we only have Object allocations in the allocations log, but it would be really nice to have String as well and maybe expose further internals such as [Base]Shapes and things from XPCOM and Gecko.

We could use this as a meta bug; I suspect just getting Strings first would be a lot easier than integrating non-SpiderMonkey allocations.

We could extend the entries in the array returned by drainAllocationsLog with a "type" field that is a string "Object", "String", etc.
Let's start with strings.
Summary: [jsdbg2] Add non-Object allocations to the allocations log → [jsdbg2] Add string allocations to the allocations log
Whiteboard: [gaming-tools]
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.