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

Issue 1230403003: d8 workers: make sure Shell::Quit is only called once (Closed)

Created:
5 years, 5 months ago by binji
Modified:
5 years, 5 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

d8 workers: make sure Shell::Quit is only called once When running with isolates, Quit can be called simultaneously by two threads. If this happens, then both threads try to clean up the Workers, which could crash. BUG=v8:4279 R=jarin@chromium.org R=machenbach@chromium.org LOG=n Committed: https://crrev.com/76184292b392d107609f21662a949b58bb1e258c Cr-Commit-Position: refs/heads/master@{#29654}

Patch Set 1 #

Patch Set 2 : once_ -> once #

Patch Set 3 : include src/base/once.h #

Patch Set 4 : remove function static #

Patch Set 5 : move once_type_ out of V8_SHARED section #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M src/d8.h View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M src/d8.cc View 1 2 3 2 chunks +10 lines, -3 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
binji
5 years, 5 months ago (2015-07-13 20:34:17 UTC) #1
Jarin
lgtm. Even though it might be better to put the 'once' variable on the Shell ...
5 years, 5 months ago (2015-07-14 04:54:00 UTC) #2
Michael Achenbach
lgtm
5 years, 5 months ago (2015-07-14 08:47:43 UTC) #3
binji
On 2015/07/14 at 04:54:00, jarin wrote: > lgtm. > > Even though it might be ...
5 years, 5 months ago (2015-07-14 16:27:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230403003/60001
5 years, 5 months ago (2015-07-14 16:41:41 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_nosnap_shared_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_compile_rel/builds/2892)
5 years, 5 months ago (2015-07-14 17:03:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230403003/80001
5 years, 5 months ago (2015-07-14 17:11:20 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 5 months ago (2015-07-14 17:42:12 UTC) #13
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/76184292b392d107609f21662a949b58bb1e258c Cr-Commit-Position: refs/heads/master@{#29654}
5 years, 5 months ago (2015-07-14 17:42:23 UTC) #14
binji
5 years, 5 months ago (2015-07-14 18:09:33 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/1235083004/ by binji@chromium.org.

The reason for reverting is: Breaks webkit_unit_tests. See
http://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Win/builds/853/....

Powered by Google App Engine
This is Rietveld 408576698