DescriptionOilpan: Don't call didV8GC in V8's minor GC
didV8GC is used to notify Oilpan that a V8 GC runs and a lot of wrappers
would have been disposed. This is a useful signal for Oilpan to decrease
the estimated live object count. Specifically, Oilpan halves the estimated
live object count when didV8GC is called.
Currently didV8GC is called in both minor and major GCs. This is too much
because minor GCs are called very frequently. As a result, the estimated
live object count goes down too quickly and we end up with scheduling
idle GCs too much.
This CL changes didV8GC so that it is called only in major GCs.
BUG=420515
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196400
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|
|||||||||||||||||||