Open Bug 1692412 Opened 4 years ago Updated 3 months ago

Unify collection of timing information between major and minor GC

Categories

(Core :: JavaScript: GC, task, P3)

task

Tracking

()

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

For major GC we use a DAG of nested phases to record timing information. For nursery collection we have a completely different (but much simpler) system. It would be great if we could use the same system for both.

This includes recording the information, printing to the console (JS_GC_[NURSERY_]PROFILE) and sending it to the profiler.

Some possible complications are:

  • nursery collection uses some of the timing information itself, e.g. when resizing
  • we don't currently create a 'slice' for minor GC

It shouldn't be possible for us to do more than one nursery collection in a major GC slice but there are no asserts that this doesn't happen AFAIK.

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