summaryrefslogtreecommitdiff
path: root/test/sequential
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-01-01 21:42:43 +0100
committerAnna Henningsen <anna@addaleax.net>2019-01-03 23:44:52 +0100
commit1f1a373df0121a9e4a2887f69862169b2f4ed2fd (patch)
tree43ef26e46d83e3bd957e38d45456f51257c11eaf /test/sequential
parent7e15f0490a894607ee1cedbe02026793a0f589e5 (diff)
downloadandroid-node-v8-1f1a373df0121a9e4a2887f69862169b2f4ed2fd.tar.gz
android-node-v8-1f1a373df0121a9e4a2887f69862169b2f4ed2fd.tar.bz2
android-node-v8-1f1a373df0121a9e4a2887f69862169b2f4ed2fd.zip
worker: use engine-provided deleter for `SharedArrayBuffer`s
Store the full information we have on a given `SharedArrayBuffer`, and use the deleter provided by the JS engine to free the memory when that is needed. This fixes memory lifetime management for WASM buffers that are passed through a `MessageChannel` (e.g. between threads). PR-URL: https://github.com/nodejs/node/pull/25307 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Diffstat (limited to 'test/sequential')
0 files changed, 0 insertions, 0 deletions