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

Issue 1145423009: Oilpan: simplify away StoppingOtherThreads pseudo GCState. (Closed)

Created:
5 years, 6 months ago by sof
Modified:
5 years, 6 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, 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

Oilpan: simplify away StoppingOtherThreads pseudo GCState. ThreadState now keeps track of whether or not GCs are forbidden; use that to prevent nested GCs from kicking in rather than the temporary StoppingOtherThreads GCState previously used. R=haraken BUG=482838 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196193

Patch Set 1 #

Patch Set 2 : improve comment (only) #

Total comments: 7

Patch Set 3 : Add clarifying comments #

Patch Set 4 : rebased and adjusted #

Total comments: 2

Patch Set 5 : revert 'explicit' removal #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -52 lines) Patch
M Source/platform/heap/Heap.cpp View 1 2 3 5 chunks +48 lines, -35 lines 0 comments Download
M Source/platform/heap/SafePoint.h View 1 2 3 4 1 chunk +6 lines, -4 lines 0 comments Download
M Source/platform/heap/ThreadState.h View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M Source/platform/heap/ThreadState.cpp View 1 2 3 5 chunks +12 lines, -10 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
sof
please take a look.
5 years, 6 months ago (2015-05-28 14:45:05 UTC) #2
haraken
LGTM https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp#newcode168 Source/platform/heap/Heap.cpp:168: SafePointScope m_safePointScope; Add a comment and mention that ...
5 years, 6 months ago (2015-05-28 15:00:56 UTC) #4
sof
https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp#newcode168 Source/platform/heap/Heap.cpp:168: SafePointScope m_safePointScope; On 2015/05/28 15:00:56, haraken wrote: > > ...
5 years, 6 months ago (2015-05-28 15:08:51 UTC) #5
sof
https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp#newcode1894 Source/platform/heap/Heap.cpp:1894: RELEASE_ASSERT(!state->isGCForbidden()); On 2015/05/28 15:00:55, haraken wrote: > > I'd ...
5 years, 6 months ago (2015-05-28 15:27:57 UTC) #6
haraken
https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp#newcode1894 Source/platform/heap/Heap.cpp:1894: RELEASE_ASSERT(!state->isGCForbidden()); On 2015/05/28 15:27:57, sof wrote: > On 2015/05/28 ...
5 years, 6 months ago (2015-05-28 15:28:46 UTC) #7
sof
https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp#newcode168 Source/platform/heap/Heap.cpp:168: SafePointScope m_safePointScope; On 2015/05/28 15:08:50, sof wrote: > On ...
5 years, 6 months ago (2015-05-29 18:52:19 UTC) #8
haraken
On 2015/05/29 18:52:19, sof wrote: > https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp > File Source/platform/heap/Heap.cpp (right): > > https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp#newcode168 > ...
5 years, 6 months ago (2015-05-30 00:24:36 UTC) #9
sof
On 2015/05/30 00:24:36, haraken wrote: > On 2015/05/29 18:52:19, sof wrote: > > > https://codereview.chromium.org/1145423009/diff/20001/Source/platform/heap/Heap.cpp ...
5 years, 6 months ago (2015-05-30 09:31:18 UTC) #10
haraken
LGTM https://codereview.chromium.org/1145423009/diff/60001/Source/platform/heap/SafePoint.h File Source/platform/heap/SafePoint.h (right): https://codereview.chromium.org/1145423009/diff/60001/Source/platform/heap/SafePoint.h#newcode16 Source/platform/heap/SafePoint.h:16: SafePointScope(ThreadState::StackState stackState, ThreadState* state = ThreadState::current()) This looks ...
5 years, 6 months ago (2015-05-31 00:13:21 UTC) #11
sof
https://codereview.chromium.org/1145423009/diff/60001/Source/platform/heap/SafePoint.h File Source/platform/heap/SafePoint.h (right): https://codereview.chromium.org/1145423009/diff/60001/Source/platform/heap/SafePoint.h#newcode16 Source/platform/heap/SafePoint.h:16: SafePointScope(ThreadState::StackState stackState, ThreadState* state = ThreadState::current()) On 2015/05/31 00:13:20, ...
5 years, 6 months ago (2015-05-31 10:28:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1145423009/80001
5 years, 6 months ago (2015-05-31 10:29:19 UTC) #15
commit-bot: I haz the power
5 years, 6 months ago (2015-05-31 10:32:28 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196193

Powered by Google App Engine
This is Rietveld 408576698