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

Issue 1226143003: d8: Fix some TSAN bugs (Closed)

Created:
5 years, 5 months ago by binji
Modified:
5 years, 5 months ago
Reviewers:
Jarin
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: Fix some TSAN bugs * Fix embarrassing bug in DeserializeValue, using a static buffer in multithreaded code. * Fix thread leak when Worker.terminate() is not called. R=jarin@chromium.org Committed: https://crrev.com/7036a0b1b8206c9d971a28bc523c8d7a2d529e43 Cr-Commit-Position: refs/heads/master@{#29626}

Patch Set 1 #

Total comments: 10

Patch Set 2 : feedback #

Patch Set 3 : don't use std::vector::data, c++11 only #

Patch Set 4 : make sure buffer size > 0 #

Total comments: 2

Patch Set 5 : feedback #

Patch Set 6 : can't use DCHECK for join_called_, unused in NDEBUG builds #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -23 lines) Patch
M src/d8.h View 1 2 3 4 3 chunks +16 lines, -1 line 0 comments Download
M src/d8.cc View 1 2 3 4 5 9 chunks +29 lines, -22 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (5 generated)
binji
https://codereview.chromium.org/1226143003/diff/1/src/d8.cc File src/d8.cc (left): https://codereview.chromium.org/1226143003/diff/1/src/d8.cc#oldcode2146 src/d8.cc:2146: static char s_buffer[128]; I'm pretty ashamed of this one... ...
5 years, 5 months ago (2015-07-09 00:13:12 UTC) #1
Jarin
https://codereview.chromium.org/1226143003/diff/1/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/1226143003/diff/1/src/d8.cc#newcode1703 src/d8.cc:1703: case STOPPED: Why do we want to retry when ...
5 years, 5 months ago (2015-07-10 10:43:18 UTC) #2
binji
https://codereview.chromium.org/1226143003/diff/1/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/1226143003/diff/1/src/d8.cc#newcode1703 src/d8.cc:1703: case STOPPED: On 2015/07/10 at 10:43:17, jarin wrote: > ...
5 years, 5 months ago (2015-07-10 17:40:46 UTC) #3
Jarin
lgtm https://codereview.chromium.org/1226143003/diff/60001/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/1226143003/diff/60001/src/d8.cc#newcode1693 src/d8.cc:1693: if (base::NoBarrier_CompareAndSwap(&join_called_, false, true) == false) { It ...
5 years, 5 months ago (2015-07-13 06:08:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1226143003/80001
5 years, 5 months ago (2015-07-13 19:46:13 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/builds/4533) (exceeded global retry quota)
5 years, 5 months ago (2015-07-13 19:51:05 UTC) #9
binji
https://codereview.chromium.org/1226143003/diff/60001/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/1226143003/diff/60001/src/d8.cc#newcode1693 src/d8.cc:1693: if (base::NoBarrier_CompareAndSwap(&join_called_, false, true) == false) { On 2015/07/13 ...
5 years, 5 months ago (2015-07-13 19:57:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1226143003/100001
5 years, 5 months ago (2015-07-13 19:58:16 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-13 21:05:01 UTC) #14
commit-bot: I haz the power
5 years, 5 months ago (2015-07-13 21:05:16 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7036a0b1b8206c9d971a28bc523c8d7a2d529e43
Cr-Commit-Position: refs/heads/master@{#29626}

Powered by Google App Engine
This is Rietveld 408576698