investigate if the background free is better than delayed deallocation

NEW
Unassigned

Status

()

Core
JavaScript Engine
6 years ago
4 years ago

People

(Reporter: Igor Bukanov, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
The background free is clearly beneficial in reducing the GC pause. However, calling free on a different thread than the the memory was allocated from could be harmful. In particular, with jemalloc  it can significantly increase lock contention. So it would be nice to compare the background free with delayed deallocation when the memory is freed piеce-meal on the main thread during allocations.
(Assignee)

Updated

4 years ago
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.