Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Issue 1652103003: Oilpan: Remove synchronous completeSweep() from V8's minor GC prologue (Closed)

Created:
4 years, 10 months ago by haraken
Modified:
4 years, 10 months ago
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), blink-reviews-bindings_chromium.org, blink-reviews, kinuko+watch, kouhei+heap_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Oilpan: 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 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -6 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp View 2 chunks +9 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 1 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
haraken
Not ready for review. I'm now measuring impact on memory.top_7_stress.
4 years, 10 months ago (2016-02-02 02:30:45 UTC) #2
haraken
On 2016/02/02 02:30:45, haraken wrote: > Not ready for review. I'm now measuring impact on ...
4 years, 10 months ago (2016-02-02 04:16:35 UTC) #3
sof
lgtm https://codereview.chromium.org/1652103003/diff/1/third_party/WebKit/Source/platform/heap/ThreadState.cpp File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/1652103003/diff/1/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode645 third_party/WebKit/Source/platform/heap/ThreadState.cpp:645: completeSweep(); Unnecessary, already done in collectGarbage().
4 years, 10 months ago (2016-02-02 08:19:27 UTC) #4
haraken
> https://codereview.chromium.org/1652103003/diff/1/third_party/WebKit/Source/platform/heap/ThreadState.cpp > File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): > > https://codereview.chromium.org/1652103003/diff/1/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode645 > third_party/WebKit/Source/platform/heap/ThreadState.cpp:645: completeSweep(); > Unnecessary, already ...
4 years, 10 months ago (2016-02-02 08:26:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652103003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652103003/20001
4 years, 10 months ago (2016-02-02 08:26:48 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-02 10:00:24 UTC) #9
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 10:01:47 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1afa199b6e7e5c9e33b121c02c7cfe9d240e7a4a
Cr-Commit-Position: refs/heads/master@{#372919}

Powered by Google App Engine
This is Rietveld 408576698