Open Bug 1696412 Opened 3 years ago Updated 3 years ago

GC globalArrayLargeArray microbenchmark triggers very long minor GCs

Categories

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

task

Tracking

()

People

(Reporter: jonco, Unassigned)

Details

I profiled this locally and was seeing 60ms nursery collections. This is bad (we aim for sub 1ms nursery collections).

I think this is filling the nursery with very large arrays with nothing in them, which survive minor GC. Some things that would help here:

  • pretenuring these arrays
  • limit the size of arrays we allocate in the nursery
  • optimise scanning of Values during tenuring
Severity: -- → N/A
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.