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

Issue 2642293002: Add Isolate parameter to disallow Atomics.wait (Closed)

Created:
3 years, 11 months ago by binji
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add Isolate parameter to disallow Atomics.wait Atomics.wait is a function which may block, which is not allowed on the main thread. Since V8 doesn't know whether a particular isolate is the "main thread", this CL adds an option to Isolate::CreateParams to choose whether this function is allowed. Review-Url: https://codereview.chromium.org/2642293002 Cr-Commit-Position: refs/heads/master@{#42611} Committed: https://chromium.googlesource.com/v8/v8/+/6eba6b4b89db81bc359dc041c62d1277f24bb8d4

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixes #

Patch Set 3 : merge master #

Patch Set 4 : update bytecode_expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -7 lines) Patch
M include/v8.h View 2 chunks +8 lines, -1 line 0 comments Download
M src/api.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/isolate.h View 2 chunks +5 lines, -0 lines 0 comments Download
M src/messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/runtime/runtime-futex.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOf.golden View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/harmony/futex.js View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (15 generated)
binji
ptal, not sure this is the best way to pass through. WDYT?
3 years, 11 months ago (2017-01-20 18:41:57 UTC) #4
jochen (gone - plz use gerrit)
lgtm alternatively, if you want to control this on a per-context basis, you could plumb ...
3 years, 11 months ago (2017-01-23 08:33:07 UTC) #5
binji
Thanks for info about Context; Adam mentioned it as well, but we concluded that it ...
3 years, 11 months ago (2017-01-23 18:26:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2642293002/60001
3 years, 11 months ago (2017-01-23 22:04:11 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 22:06:20 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/6eba6b4b89db81bc359dc041c62d1277f24...

Powered by Google App Engine
This is Rietveld 408576698