Open Bug 1105706 Opened 10 years ago Updated 2 years ago

Decrease incremental GC slice time?

Categories

(Core :: JavaScript: GC, defect)

36 Branch
x86_64
Linux
defect

Tracking

()

REOPENED

People

(Reporter: smaug, Unassigned)

References

Details

The current value is 10ms which is too much for animations. frames get dropped rather easily.
Could we try 5ms?

But locally when I set the value to 5ms, I still see something like 
Slice: 21, Pause: 10.1 (When: 599.4ms, Reason: REFRESH_FRAME)
maybe that is just one slice taking too long.
I was testing using javascript.options.mem.gc_incremental_slice_ms
We're currently looking at this, but 5ms is very ambitious - see bug 1057530 comment 7.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
This is not about the max pause. This about the REFRESH_FRAME slices.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
In other words, max pause is one issue, the average slice time a different one.
In CC we've now got average slice time to pretty low, but the first one (TraverseRoots effectively) and second to last (Unlink) slices take occasionally too much time.
Depends on: 1368069
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.