DescriptionOilpan: Schedule a conservative GC when page navigations are happening frequently
A frame retains a lot of memory in the V8 side. For example, one v8::Context retained
by the frame has >200 KB. V8's GC cannot collect the memory until Oilpan's GC collects
the frame. So this CL forces a conservative GC if no Oilpan's GC has been observed in
the past 5 frame navigations.
This CL improves the performance of iframe-append-child as follows:
ToT without Oilpan: 177 runs/sec
ToT with Oilpan: 142 runs/sec
ToT + this CL with Oilpan: 168 runs/sec
This CL also reduces V8's peak memory usage as follows:
ToT without Oilpan: 34 MB
ToT with Oilpan: 110 MB
ToT + this CL with Oilpan: 50 MB
(Note: iframe-append-child uses little memory in the Blink side.
allocatedObjectSize + PartitionAlloc <= 4 MB.)
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=202568
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Messages
Total messages: 14 (4 generated)
|