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

Issue 1208933006: Atomics Futex API (Closed)

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

Description

Atomics Futex API BUG=chromium:497295 R=jarin@chromium.org LOG=n Committed: https://crrev.com/35b2114874bc37fb5fc839244f9794567d5d31d4 Cr-Commit-Position: refs/heads/master@{#29736}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : fix stuff #

Patch Set 5 : dumb typo in static_cast #

Patch Set 6 : merge master #

Patch Set 7 : . #

Patch Set 8 : error message #

Total comments: 6

Patch Set 9 : feedback #

Total comments: 8

Patch Set 10 : feedback #

Total comments: 1

Patch Set 11 : check for interrupts #

Patch Set 12 : . #

Patch Set 13 : reduce test wait time from 1s -> 0.1s #

Total comments: 4

Patch Set 14 : TODO about busy-waiting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+854 lines, -4 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -0 lines 0 comments Download
A src/futex-emulation.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +123 lines, -0 lines 0 comments Download
A src/futex-emulation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +233 lines, -0 lines 0 comments Download
M src/harmony-atomics.js View 1 2 3 4 5 6 7 8 9 4 chunks +69 lines, -2 lines 0 comments Download
M src/isolate.h View 3 chunks +5 lines, -0 lines 0 comments Download
M src/messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -0 lines 0 comments Download
A src/runtime/runtime-futex.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +94 lines, -0 lines 0 comments Download
M test/cctest/cctest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +36 lines, -0 lines 0 comments Download
A test/mjsunit/harmony/futex.js View 1 2 3 4 5 6 7 8 1 chunk +274 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -0 lines 0 comments Download
M tools/js2c.py View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (5 generated)
binji
PTAL, the bots are failing because this CL depends on https://codereview.chromium.org/1223813008.
5 years, 5 months ago (2015-07-08 17:37:42 UTC) #1
Michael Starzinger
https://codereview.chromium.org/1208933006/diff/140001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/1208933006/diff/140001/src/flag-definitions.h#newcode197 src/flag-definitions.h:197: V(harmony_futex, "harmony futex") \ This flag seems to be ...
5 years, 5 months ago (2015-07-08 17:54:20 UTC) #3
binji
https://codereview.chromium.org/1208933006/diff/140001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/1208933006/diff/140001/src/flag-definitions.h#newcode197 src/flag-definitions.h:197: V(harmony_futex, "harmony futex") \ On 2015/07/08 at 17:54:20, Michael ...
5 years, 5 months ago (2015-07-08 18:05:29 UTC) #4
Michael Starzinger
Just a drive-by, I'll leave the rest to Jaro.
5 years, 5 months ago (2015-07-08 18:08:33 UTC) #6
Jarin
First batch of comments. https://codereview.chromium.org/1208933006/diff/160001/src/futex-emulation.cc File src/futex-emulation.cc (right): https://codereview.chromium.org/1208933006/diff/160001/src/futex-emulation.cc#newcode18 src/futex-emulation.cc:18: FutexWaitList FutexEmulation::wait_list_; Static initializers are ...
5 years, 5 months ago (2015-07-10 12:11:40 UTC) #7
binji
https://codereview.chromium.org/1208933006/diff/160001/src/futex-emulation.cc File src/futex-emulation.cc (right): https://codereview.chromium.org/1208933006/diff/160001/src/futex-emulation.cc#newcode18 src/futex-emulation.cc:18: FutexWaitList FutexEmulation::wait_list_; On 2015/07/10 at 12:11:39, jarin wrote: > ...
5 years, 5 months ago (2015-07-14 19:24:37 UTC) #8
Jarin
Adding jochen to discuss the blocking of main thread. https://codereview.chromium.org/1208933006/diff/180001/src/futex-emulation.cc File src/futex-emulation.cc (right): https://codereview.chromium.org/1208933006/diff/180001/src/futex-emulation.cc#newcode80 src/futex-emulation.cc:80: ...
5 years, 5 months ago (2015-07-15 07:42:21 UTC) #10
jochen (gone - plz use gerrit)
On 2015/07/15 at 07:42:21, jarin wrote: > Adding jochen to discuss the blocking of main ...
5 years, 5 months ago (2015-07-15 13:41:35 UTC) #11
binji
On 2015/07/15 at 13:41:35, jochen wrote: > On 2015/07/15 at 07:42:21, jarin wrote: > > ...
5 years, 5 months ago (2015-07-15 18:48:42 UTC) #12
jochen (gone - plz use gerrit)
yeah, it's essentially the same as while (1) {} - nothing gets rendered, and after ...
5 years, 5 months ago (2015-07-15 18:50:53 UTC) #13
Jarin
On 2015/07/15 18:50:53, jochen wrote: > yeah, it's essentially the same as while (1) {} ...
5 years, 5 months ago (2015-07-16 07:36:13 UTC) #14
binji
On 2015/07/16 at 07:36:13, jarin wrote: > On 2015/07/15 18:50:53, jochen wrote: > > yeah, ...
5 years, 5 months ago (2015-07-16 21:29:17 UTC) #15
Jarin
lgtm. (but we should revisit the busy wait at some point.) https://codereview.chromium.org/1208933006/diff/240001/src/futex-emulation.cc File src/futex-emulation.cc (right): ...
5 years, 5 months ago (2015-07-17 12:55:28 UTC) #16
binji
https://codereview.chromium.org/1208933006/diff/240001/src/futex-emulation.cc File src/futex-emulation.cc (right): https://codereview.chromium.org/1208933006/diff/240001/src/futex-emulation.cc#newcode63 src/futex-emulation.cc:63: // TODO(binji): How long should this be? Should it ...
5 years, 5 months ago (2015-07-17 16:29:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1208933006/260001
5 years, 5 months ago (2015-07-17 16:29:40 UTC) #20
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years, 5 months ago (2015-07-17 17:11:41 UTC) #21
commit-bot: I haz the power
5 years, 5 months ago (2015-07-17 17:11:54 UTC) #22
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/35b2114874bc37fb5fc839244f9794567d5d31d4
Cr-Commit-Position: refs/heads/master@{#29736}

Powered by Google App Engine
This is Rietveld 408576698