v8/test
binji dd7962bf78 Fix bug when transferring SharedArrayBuffer to multiple Workers.
Previously, the serialization code would call Externalize for every transferred
ArrayBuffer or SharedArrayBuffer, but that function can only be called once. If
the buffer is already externalized, we should call GetContents instead.

Also fix use-after-free bug when transferring ArrayBuffers. The transferred
ArrayBuffer must be internalized in the new isolate, or be managed by the
Shell. The current code gives it to the isolate externalized and frees it
immediately afterward when the SerializationData object is destroyed.

BUG=chromium:497295
R=jarin@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/1215233004

Cr-Commit-Position: refs/heads/master@{#29499}
2015-07-06 17:18:06 +00:00
..
benchmarks [turbofan] Add single --turbo flag. 2015-04-16 16:28:39 +00:00
cctest Support for global var shortcuts in script contexts. 2015-07-06 16:36:39 +00:00
intl Allow identifier code points from supplementary multilingual planes. 2014-10-10 07:13:46 +00:00
js-perf-test [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
mjsunit Fix bug when transferring SharedArrayBuffer to multiple Workers. 2015-07-06 17:18:06 +00:00
mozilla [turbofan] Enable support for try-catch statements. 2015-06-11 10:50:55 +00:00
preparser Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
promises-aplus Enable access check tests that no longer fail with TF. 2014-08-14 13:24:57 +00:00
simdjs Skip simdjs/shell_test_runner on big-endian platforms. 2015-05-27 18:55:55 +00:00
test262 [test] Port clobber of old test262 archive files. 2015-07-06 12:09:46 +00:00
test262-es6 Avoid converting key to string for deleting of elements 2015-07-02 15:27:28 +00:00
unittests Revert of Replace reduce-memory mode in idle notification with delayed clean-up GC. (patchset #17 id:320001 of https://codereview.chromium.org/1218863002/) 2015-07-05 18:19:03 +00:00
webkit Re-ship Harmony Array/TypedArray methods 2015-06-23 00:41:58 +00:00