test262/test/built-ins/Atomics
Rick Waldron e4883091b9 Introduce $262.agent.safeBroadcast and migrate Atomics tests.
Migrating all tests to this API is necessary to prevent tests from hanging indefinitely when a SAB is sent to a worker but the code in the worker attempts to create a non-sharable TypedArray (something that is not Int32Array or BigInt64Array). When that scenario occurs, an exception is thrown and the agent worker can no longer communicate with any other threads that control the SAB. If the main thread happens to be spinning in the $262.agent.waitUntil() while loop, it will never meet its termination condition and the test will hang indefinitely.

Because we've defined $262.agent.broadcast(SAB) in https://github.com/tc39/test262/blob/master/INTERPRETING.md, there are host implementations that assume compatibility, which must be maintained.
2018-11-20 15:17:47 -05:00
..
add Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
and Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
compareExchange Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
exchange Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
isLockFree Fix multiple test bugs and remove incomplete or no longer valid tests (#1616) 2018-06-29 18:52:53 -04:00
load Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
notify Introduce $262.agent.safeBroadcast and migrate Atomics tests. 2018-11-20 15:17:47 -05:00
or Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
store Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
sub Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
wait Introduce $262.agent.safeBroadcast and migrate Atomics tests. 2018-11-20 15:17:47 -05:00
xor Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
Symbol.toStringTag.js Atomics: fixes to bigint variants; updated assertion messages 2018-06-27 12:58:02 -04:00
prop-desc.js Atomics: fixes to bigint variants; updated assertion messages 2018-06-27 12:58:02 -04:00
proto.js Atomics: fixes to bigint variants; updated assertion messages 2018-06-27 12:58:02 -04:00