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

Issue 1771353010: Finish completeSweep before shutting down V8 (Closed)

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

Description

Finish completeSweep before shutting down V8 If Oilpan runs completeSweep after shutting down V8, some destructor may access V8 and cause crash. Oilpan should finish completeSweep before shutting down V8. BUG=593092 Committed: https://crrev.com/29a57aad9a5cd9388811408f1a457493d6f9671d Cr-Commit-Position: refs/heads/master@{#380415}

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -71 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp View 1 2 3 4 5 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapTest.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -48 lines 3 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.h View 1 2 3 4 5 2 chunks +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 1 2 3 4 5 2 chunks +25 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/web/WebKit.cpp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (8 generated)
haraken
PTAL https://codereview.chromium.org/1771353010/diff/20001/third_party/WebKit/Source/platform/heap/ThreadState.cpp File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/1771353010/diff/20001/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode219 third_party/WebKit/Source/platform/heap/ThreadState.cpp:219: completeSweep(); Another option is just to remove completeSweep(). ...
4 years, 9 months ago (2016-03-10 05:42:23 UTC) #2
haraken
On 2016/03/10 05:42:23, haraken wrote: > PTAL > > https://codereview.chromium.org/1771353010/diff/20001/third_party/WebKit/Source/platform/heap/ThreadState.cpp > File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): > ...
4 years, 9 months ago (2016-03-10 06:13:13 UTC) #3
sof
bots are red; will take a close look at the CL at the other side ...
4 years, 9 months ago (2016-03-10 06:33:21 UTC) #4
haraken
On 2016/03/10 06:33:21, sof wrote: > bots are red; will take a close look at ...
4 years, 9 months ago (2016-03-10 06:38:41 UTC) #5
sof
lgtm. I suspect this will take care of issue 592880 also.
4 years, 9 months ago (2016-03-10 07:00:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771353010/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771353010/40001
4 years, 9 months ago (2016-03-10 07:01:39 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/128220)
4 years, 9 months ago (2016-03-10 07:19:44 UTC) #10
haraken
https://codereview.chromium.org/1771353010/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/1771353010/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode233 third_party/WebKit/Source/platform/heap/ThreadState.cpp:233: SafePointAwareMutexLocker locker(threadAttachMutex(), BlinkGC::NoHeapPointersOnStack); Ah, now I remember why I ...
4 years, 9 months ago (2016-03-10 07:28:53 UTC) #11
sof
https://codereview.chromium.org/1771353010/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/1771353010/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode233 third_party/WebKit/Source/platform/heap/ThreadState.cpp:233: SafePointAwareMutexLocker locker(threadAttachMutex(), BlinkGC::NoHeapPointersOnStack); On 2016/03/10 07:28:53, haraken wrote: > ...
4 years, 9 months ago (2016-03-10 07:35:41 UTC) #12
haraken
On 2016/03/10 07:35:41, sof wrote: > https://codereview.chromium.org/1771353010/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp > File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): > > https://codereview.chromium.org/1771353010/diff/40001/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode233 > ...
4 years, 9 months ago (2016-03-10 07:48:29 UTC) #13
sof
lgtm https://codereview.chromium.org/1771353010/diff/60001/third_party/WebKit/Source/platform/heap/ThreadState.cpp File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/1771353010/diff/60001/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode237 third_party/WebKit/Source/platform/heap/ThreadState.cpp:237: ASSERT(!state->isSweepingInProgress()); nit: add ASSERT(state->isGCForbidden());
4 years, 9 months ago (2016-03-10 07:52:16 UTC) #14
haraken
> https://codereview.chromium.org/1771353010/diff/60001/third_party/WebKit/Source/platform/heap/ThreadState.cpp > File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): > > https://codereview.chromium.org/1771353010/diff/60001/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode237 > third_party/WebKit/Source/platform/heap/ThreadState.cpp:237: > ASSERT(!state->isSweepingInProgress()); > nit: ...
4 years, 9 months ago (2016-03-10 07:53:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771353010/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771353010/80001
4 years, 9 months ago (2016-03-10 07:53:29 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/128244)
4 years, 9 months ago (2016-03-10 08:18:10 UTC) #20
sof
shutdown untidiness in a HeapTest unit test.
4 years, 9 months ago (2016-03-10 10:20:08 UTC) #21
haraken
https://codereview.chromium.org/1771353010/diff/140001/third_party/WebKit/Source/platform/heap/HeapTest.cpp File third_party/WebKit/Source/platform/heap/HeapTest.cpp (left): https://codereview.chromium.org/1771353010/diff/140001/third_party/WebKit/Source/platform/heap/HeapTest.cpp#oldcode5754 third_party/WebKit/Source/platform/heap/HeapTest.cpp:5754: class CrossThreadPersistentOnMainThreadTester { Would it make sense to remove ...
4 years, 9 months ago (2016-03-10 10:45:18 UTC) #22
haraken
Looks like the tests pass. PTAL.
4 years, 9 months ago (2016-03-10 14:02:01 UTC) #23
sof
lgtm sorry, forgot to follow up on HeapTest question, but agreeing that the test in ...
4 years, 9 months ago (2016-03-10 14:16:35 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771353010/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771353010/140001
4 years, 9 months ago (2016-03-10 14:20:50 UTC) #26
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 9 months ago (2016-03-10 15:50:01 UTC) #27
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 15:51:14 UTC) #29
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/29a57aad9a5cd9388811408f1a457493d6f9671d
Cr-Commit-Position: refs/heads/master@{#380415}

Powered by Google App Engine
This is Rietveld 408576698