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

Unified Diff: test/mjsunit/harmony/futex.js

Issue 2659083004: [SAB] Fix crash in Atomics.wake w/ infinite count. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/futex-emulation.h ('K') | « src/runtime/runtime-futex.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/futex.js
diff --git a/test/mjsunit/harmony/futex.js b/test/mjsunit/harmony/futex.js
index 6790988678eb27c200185da4a7cb45e51ef140ab..51a5db79508a523dde4b7b2876cd788164c9db15 100644
--- a/test/mjsunit/harmony/futex.js
+++ b/test/mjsunit/harmony/futex.js
@@ -104,6 +104,11 @@
%SetAllowAtomicsWait(true);
})();
+(function TestWakePositiveInfinity() {
+ var i32a = new Int32Array(new SharedArrayBuffer(16));
+ Atomics.wake(i32a, 0, Number.POSITIVE_INFINITY);
+})();
+
//// WORKER ONLY TESTS
if (this.Worker) {
« src/futex-emulation.h ('K') | « src/runtime/runtime-futex.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698