Chromium Code Reviews
DescriptionOilpan: Remove synchronous completeSweep() from V8's minor GC prologue
Running completeSweep() in the minor GC prologue can increase the time
of the minor GC, which we really should avoid because minor GCs must be super fast.
The synchronous completeSweep() was added there to collect floating garbage
in the minor GC (i.e., to collect garbage that needs a sequence of
Oilpan's GC => V8's minor GC => Oilpan's GC). However, now that the new minor GC
has been landed which is agnostic to DOM-side reachability (i.e., the minor GC
collects unomdified V8 wrappers without taking into count the DOM-side reachability),
it's possible that we don't need to worry about the floating garbage as much as before.
So this CL removes the synchronous completeSweep() from the minor GC prologue.
BUG=582831
Committed: https://crrev.com/1afa199b6e7e5c9e33b121c02c7cfe9d240e7a4a
Cr-Commit-Position: refs/heads/master@{#372919}
Patch Set 1 #
Total comments: 1
Patch Set 2 : #
Messages
Total messages: 11 (4 generated)
|
|||||||||||||||||||||||||||||||||||||