Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(22)

Issue 1158683003: Oilpan: We shouldn't schedule a GC before we complete sweeping (Closed)

Created:
4 years, 11 months ago by haraken
Modified:
4 years, 11 months ago
Reviewers:
oilpan-reviews, sof
CC:
blink-reviews, oilpan-reviews, kouhei+heap_chromium.org, Mads Ager (chromium)
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: We shouldn't schedule a GC before we complete sweeping There is no reason to schedule a GC before we complete sweeping. If we schedule a GC before completing sweeping, it is possible that the next GC starts running before the unmarked objects get collected (in fact this is frequently happening in memory.top_7_stress). This CL moves scheduleGCIfNeeded() to after completeSweep(). One concern of this change would be that we might end up with delaying scheduling a GC, but that cannot happen because completeSweep() is guaranteed to run before we allocate any new page. BUG=420515 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196390

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -13 lines) Patch
M Source/platform/heap/Heap.cpp View 3 chunks +14 lines, -13 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
haraken
PTAL If I'm not missing something, I think this is a correct change. I don't ...
4 years, 11 months ago (2015-06-02 08:57:30 UTC) #2
sof
Doesnt scheduleGCIfNeeded() trigger a conservative GC (if needed)?
4 years, 11 months ago (2015-06-02 09:10:32 UTC) #3
haraken
On 2015/06/02 09:10:32, sof wrote: > Doesnt scheduleGCIfNeeded() trigger a conservative GC (if needed)? Yes, ...
4 years, 11 months ago (2015-06-02 09:20:59 UTC) #4
sof
On 2015/06/02 09:20:59, haraken wrote: > On 2015/06/02 09:10:32, sof wrote: > > Doesnt scheduleGCIfNeeded() ...
4 years, 11 months ago (2015-06-02 09:31:09 UTC) #5
haraken
On 2015/06/02 09:31:09, sof wrote: > On 2015/06/02 09:20:59, haraken wrote: > > On 2015/06/02 ...
4 years, 11 months ago (2015-06-02 11:30:54 UTC) #6
sof
On 2015/06/02 11:30:54, haraken wrote: > On 2015/06/02 09:31:09, sof wrote: > > On 2015/06/02 ...
4 years, 11 months ago (2015-06-02 12:17:30 UTC) #7
sof
On 2015/06/02 12:17:30, sof wrote: > On 2015/06/02 11:30:54, haraken wrote: > > On 2015/06/02 ...
4 years, 11 months ago (2015-06-02 12:18:12 UTC) #8
haraken
On 2015/06/02 12:17:30, sof wrote: > On 2015/06/02 11:30:54, haraken wrote: > > On 2015/06/02 ...
4 years, 11 months ago (2015-06-02 13:34:45 UTC) #9
sof
On 2015/06/02 13:34:45, haraken wrote: > On 2015/06/02 12:17:30, sof wrote: > > On 2015/06/02 ...
4 years, 11 months ago (2015-06-02 13:51:03 UTC) #10
haraken
On 2015/06/02 13:51:03, sof wrote: > On 2015/06/02 13:34:45, haraken wrote: > > On 2015/06/02 ...
4 years, 11 months ago (2015-06-03 04:41:43 UTC) #11
sof
On 2015/06/03 04:41:43, haraken wrote: ... > > I verified that this CL doesn't change ...
4 years, 11 months ago (2015-06-03 06:44:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158683003/1
4 years, 11 months ago (2015-06-03 07:10:45 UTC) #14
haraken
> * - dom-modify.html has regressed "a bit" wrt OOM on trunk; i.e., i can ...
4 years, 11 months ago (2015-06-03 07:12:14 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2015-06-03 10:53:47 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196390

Powered by Google App Engine
This is Rietveld 408576698