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

Issue 1659453002: Oilpan: Move synchronous Oilpan GCs out of V8 GC epilogues (Closed)

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

Description

Oilpan: Move synchronous Oilpan GCs out of V8 GC epilogues It is problematic to run an Oilpan GC in a V8 GC epilogue because it makes the time consumed by a V8 GC unpredictable. This CL moves an Oilpan GC out of the V8 GC epilogue. Alternately the Oilpan GC is scheduled at the end of the event loop (if necessary). I verified that this CL doesn't cause a peak memory increase in memory.top_7_stress. BUG=582831 Committed: https://crrev.com/9bdb6bc2d91c210e23f3bde2401420df28c13641 Cr-Commit-Position: refs/heads/master@{#372899}

Patch Set 1 #

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

Messages

Total messages: 16 (5 generated)
haraken
PTAL Here is a result for memory.top_7_stress. No regression in the peak memory usage: http://haraken.info/a/results.html
4 years, 10 months ago (2016-02-01 14:20:11 UTC) #2
jochen (gone - plz use gerrit)
lgtm
4 years, 10 months ago (2016-02-01 14:25:35 UTC) #3
sof
https://codereview.chromium.org/1659453002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp File third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp (right): https://codereview.chromium.org/1659453002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp#newcode347 third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp:347: if (ThreadState::current()) What does the switch to scheduling via ...
4 years, 10 months ago (2016-02-01 14:41:48 UTC) #4
haraken
Yeah, this CL needs more explanation... https://codereview.chromium.org/1659453002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp File third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp (right): https://codereview.chromium.org/1659453002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp#newcode347 third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp:347: if (ThreadState::current()) On ...
4 years, 10 months ago (2016-02-01 15:05:58 UTC) #5
sof
Thanks for the details on the underlying shift in approach & GC order. I verified ...
4 years, 10 months ago (2016-02-01 21:56:37 UTC) #6
haraken
On 2016/02/01 21:56:37, sof wrote: > Thanks for the details on the underlying shift in ...
4 years, 10 months ago (2016-02-02 01:40:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1659453002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1659453002/1
4 years, 10 months ago (2016-02-02 01:42:20 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/15973) android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, ...
4 years, 10 months ago (2016-02-02 01:48:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1659453002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1659453002/1
4 years, 10 months ago (2016-02-02 02:20:59 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-02 06:00:18 UTC) #14
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 06:02:52 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9bdb6bc2d91c210e23f3bde2401420df28c13641
Cr-Commit-Position: refs/heads/master@{#372899}

Powered by Google App Engine
This is Rietveld 408576698