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

Issue 747363005: Oilpan: Introduce a state transition model for Oilpan GC states (Closed)

Created:
6 years ago by haraken
Modified:
6 years ago
Reviewers:
oilpan-reviews, tkent, sof
CC:
blink-reviews, arv+blink, Mads Ager (chromium), oilpan-reviews, blink-reviews-bindings_chromium.org, kouhei+heap_chromium.org
Project:
blink
Visibility:
Public.

Description

Oilpan: Introduce a state transition model for Oilpan GC states Currently we have three boolean flags to maintain GC states (i.e., m_gcRequested, m_sweepRequested, m_inGC). Incremental sweeping will add a couple of more boolean flags. This is confusing, so this CL introduces a GCState, which maintains a state transition of GC states. See RELEASE_ASSERTs in ThreadState::setGCState() for possible state transitions. BUG=420515 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186029

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -99 lines) Patch
M Source/bindings/core/v8/V8GCController.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/heap/Heap.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/heap/Heap.cpp View 1 2 3 4 5 6 7 9 chunks +20 lines, -17 lines 0 comments Download
M Source/platform/heap/HeapTest.cpp View 1 2 3 6 chunks +4 lines, -4 lines 0 comments Download
M Source/platform/heap/ThreadState.h View 1 2 3 4 5 6 7 7 chunks +19 lines, -32 lines 0 comments Download
M Source/platform/heap/ThreadState.cpp View 1 2 3 4 5 6 7 9 chunks +43 lines, -44 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
haraken
PTAL
6 years ago (2014-11-26 01:50:56 UTC) #2
tkent
> Also this CL moves ThreadState::s_inGC to Heap::s_inGC. Why? This movement makes the patch larger ...
6 years ago (2014-11-26 02:27:07 UTC) #4
haraken
On 2014/11/26 02:27:07, tkent wrote: > > Also this CL moves ThreadState::s_inGC to Heap::s_inGC. > ...
6 years ago (2014-11-26 02:43:28 UTC) #5
haraken
Rebased with ToT. tkent-san: Would you take another look? https://codereview.chromium.org/747363005/diff/40001/Source/platform/heap/ThreadState.h File Source/platform/heap/ThreadState.h (left): https://codereview.chromium.org/747363005/diff/40001/Source/platform/heap/ThreadState.h#oldcode405 Source/platform/heap/ThreadState.h:405: ...
6 years ago (2014-11-26 05:27:01 UTC) #6
tkent
lgtm
6 years ago (2014-11-26 05:36:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/747363005/80001
6 years ago (2014-11-26 05:40:14 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/platform/heap/ThreadState.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years ago (2014-11-26 07:08:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/747363005/100001
6 years ago (2014-11-26 07:18:46 UTC) #14
commit-bot: I haz the power
Failed to apply patch for Source/platform/heap/ThreadState.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years ago (2014-11-26 07:19:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/747363005/100001
6 years ago (2014-11-26 07:32:46 UTC) #18
commit-bot: I haz the power
Failed to apply patch for Source/platform/heap/ThreadState.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years ago (2014-11-26 07:33:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/747363005/120001
6 years ago (2014-11-26 08:45:12 UTC) #22
commit-bot: I haz the power
Failed to apply patch for Source/platform/heap/ThreadState.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years ago (2014-11-26 08:45:37 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/747363005/140001
6 years ago (2014-11-26 10:47:56 UTC) #26
commit-bot: I haz the power
6 years ago (2014-11-26 12:04:04 UTC) #27
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186029

Powered by Google App Engine
This is Rietveld 408576698