Open Bug 1547284 Opened 5 years ago Updated 2 years ago

Make JS allocation sampling probability configurable

Categories

(Core :: Gecko Profiler, enhancement, P2)

62 Branch
enhancement

Tracking

()

People

(Reporter: gregtatum, Unassigned)

Details

In Bug 1545582 js/src/vm/Runtime.cpp the allocation sampling probability is hard coded to 0.1. We should hook it up as a configurable parameter of some kind. DMD has two different modes, either some smaller probability, or a probability of 100% to record every allocation. We should consider what type of probability we want to put here and how to configure it.

Priority: -- → P2
Assignee: nobody → gtatum
Assignee: gtatum → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.