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

Issue 1079993002: collectAllGarbage(): bail on reaching fixed point. (Closed)

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

Description

collectAllGarbage(): bail on reaching fixed point. To root out objects that become unreachable and dead once persistent references to them are finalized, we're forced to iteratively GC when wanting to sweep out all garbage. But no need to continue doing it after the live object set has stabilized. R=haraken BUG=420515 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193682

Patch Set 1 #

Total comments: 2

Patch Set 2 : use markedObjectSize() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M Source/platform/heap/Heap.cpp View 1 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
sof
Please take a look.
5 years, 8 months ago (2015-04-13 15:25:28 UTC) #2
haraken
LGTM https://codereview.chromium.org/1079993002/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1079993002/diff/1/Source/platform/heap/Heap.cpp#newcode2402 Source/platform/heap/Heap.cpp:2402: size_t liveObjects = Heap::estimatedLiveObjectSize(); Shall we use Heap::markedObjectSize()? ...
5 years, 8 months ago (2015-04-13 23:12:12 UTC) #4
sof
Not exhaustive, but few tests required more than two GCs to settle. Not encountered any ...
5 years, 8 months ago (2015-04-14 06:40:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1079993002/20001
5 years, 8 months ago (2015-04-14 06:41:17 UTC) #8
commit-bot: I haz the power
5 years, 8 months ago (2015-04-14 10:35:28 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193682

Powered by Google App Engine
This is Rietveld 408576698