v8/include
Anna Henningsen 4da05e97ad [SAB] Fix flake in Atomics.wait
As specified in https://tc39.github.io/ecma262/#sec-atomics-wait, the
critical section must occur before the load and comparison.

This slightly changes the `AtomicsWaitCallback` API, but in a
direction that arguably makes it more consistent.

As a drive-by fix, reset `node->waiting_` in case there
was an exception from the first callback.

Refs: https://chromium-review.googlesource.com/c/v8/v8/+/1095814
Bug: v8:7836
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: I577cdf76cedfe39bc61f783203b543c7c68fc238
Reviewed-on: https://chromium-review.googlesource.com/1096236
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Ben Smith <binji@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53673}
2018-06-12 15:46:37 +00:00
..
libplatform [libplatform] Deprecate EnsureEventLoopInitialized 2018-05-09 14:56:54 +00:00
APIDesign.md Replace <> with &lt;&gt; in md docs 2017-06-12 10:09:12 +00:00
DEPS [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
OWNERS Add Ulan to API owners and make it noparent. 2018-04-03 09:41:11 +00:00
PRESUBMIT.py [CQ] Let presubmit scripts point to correct LUCI bots 2018-02-27 23:26:51 +00:00
v8-inspector-protocol.h [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
v8-inspector.h Provide API to expose non-empty top source url. 2018-05-07 20:47:19 +00:00
v8-platform.h [V8Platform] Remove deprecated Background threads APIs and make new APIs pure virtual. 2018-05-16 23:27:02 +00:00
v8-profiler.h [api] Switch from SetBuildEmbedderGraphCallback to AddBuildEmbedderGraphCallback 2018-06-06 09:46:57 +00:00
v8-testing.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
v8-util.h remove SetReference from PersistentValueMapBase. 2018-01-19 13:40:51 +00:00
v8-value-serializer-version.h Expose the ValueSerializer data format version as a compile-time constant. 2017-04-27 15:14:41 +00:00
v8-version-string.h [build] Fix V8_VERSION_STRING with embedder string 2017-10-23 14:31:52 +00:00
v8-version.h Update V8 version to 6.9 2018-05-24 10:31:20 +00:00
v8.h [SAB] Fix flake in Atomics.wait 2018-06-12 15:46:37 +00:00
v8config.h [bigint] Add big endian support for BigInts serialization 2018-04-25 08:29:20 +00:00