Open Bug 1963119 Opened 25 days ago Updated 23 days ago

Show information about which nursery things were promoted in the profiler

Categories

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

enhancement

Tracking

()

People

(Reporter: jonco, Assigned: jonco)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In bug 1892508 I added an option to do this when running the shell from the command line. It would be more useful to have this information show up in the profiler so more people could use and it we could see it in profiles attached to performance bugs.

There is a risk that this will add some overhead to nursery collection but I don't think it will be significant.

To reduce potential perforamnce impact this is only supported in nightly builds
or where GC zeal is enabled.

This adds a hash table lookup for every object promoted when the profiler is
enabled, which is not great but shouldn't be too signfiicant.

There will be a corresponding pull request for profiler changes to use this
information.

Blocks: 1471438
Severity: -- → N/A
Priority: -- → P2
Depends on: 1963597
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: