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

Issue 1178063004: Oilpan: move "forced GC" handling back to gcEpilogue(). (Closed)

Created:
5 years, 6 months ago by sof
Modified:
5 years, 6 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, arv+blink, oilpan-reviews, Mads Ager (chromium), vivekg_samsung, vivekg, blink-reviews-bindings_chromium.org, kouhei+heap_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: move "forced GC" handling back to gcEpilogue(). Some tests assume that minor GCs (via GCController.minorCollect()) will also force an Oilpan GC. Hence, revert r196953's move of forced GC handling (to ThreadState::didV8MajorGC()), moving it back to gcEpilogue() so that all V8 GC notifications might again trigger a forced GC. R= BUG=420515

Patch Set 1 #

Patch Set 2 : adjust force-gc logic #

Patch Set 3 : compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -21 lines) Patch
M Source/bindings/core/v8/V8GCController.cpp View 1 2 1 chunk +18 lines, -1 line 0 comments Download
M Source/platform/heap/ThreadState.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/heap/ThreadState.cpp View 2 chunks +1 line, -19 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
sof
please take a look. takes care of the fast/dom/minor-dom-gc.html leak regression.
5 years, 6 months ago (2015-06-15 12:43:02 UTC) #2
haraken
LGTM
5 years, 6 months ago (2015-06-15 14:11:40 UTC) #3
sof
5 years, 6 months ago (2015-06-17 13:19:08 UTC) #4
Thanks - end up being included in https://codereview.chromium.org/1190513006/

Powered by Google App Engine
This is Rietveld 408576698