node/deps
Anna Henningsen a91a95f820
deps: V8: backport 4bf051d536a1
Original commit message:

    [api] Add Context::GetMicrotaskQueue method

    Add a method that returns the microtask queue that is being used
    by the `v8::Context`.

    This is helpful in non-monolithic embedders like Node.js, which
    accept Contexts created by its own embedders like Electron, or
    for native Node.js addons. In particular, it enables:

    1. Making sure that “nested” `Context`s use the correct microtask
       queue, i.e. the one from the outer Context.
    2. Enqueueing microtasks into the correct microtask queue.

    Previously, these things only worked when the microtask queue for
    a given Context was the Isolate’s default queue.

    As an alternative, I considered adding a way to make new `Context`s
    inherit the queue from the `Context` that was entered at the time
    of their creation, but that seemed a bit more “magic”, less flexible,
    and didn’t take care of concern 2 listed above.

    Change-Id: I15ed796df90f23c97a545a8e1b30a3bf4a5c4320
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2579914
    Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71710}

Refs: 4bf051d536

PR-URL: https://github.com/nodejs/node/pull/36482
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-12-13 22:03:41 +01:00
..
acorn deps: update acorn to v8.0.4 2020-10-27 03:26:56 +00:00
acorn-plugins deps: update acorn to v8.0.4 2020-10-27 03:26:56 +00:00
brotli deps: update brotli to v1.0.9 2020-08-29 01:56:35 +00:00
cares deps: cherry-pick 0d252eb from upstream c-ares 2020-11-16 17:09:10 +01:00
cjs-module-lexer deps: upgrade to cjs-module-lexer@1.0.0 2020-11-02 10:24:04 -08:00
histogram deps: histogram: unexport symbols 2019-05-23 11:22:46 +02:00
icu-small deps: update ICU to 68.1 2020-11-22 20:58:08 +00:00
llhttp deps: update llhttp to 2.1.3 2020-10-04 08:17:10 +02:00
nghttp2 deps: update nghttp2 to 1.41.0 2020-06-02 20:35:51 +02:00
nghttp3 deps: update nghttp3 2020-08-21 09:18:42 -07:00
ngtcp2 deps: update ngtcp2 2020-08-21 09:18:39 -07:00
node-inspect deps: update node-inspect to v2.0.0 2020-05-20 12:36:34 +02:00
npm deps: upgrade npm to 7.1.2 2020-12-12 22:28:37 +00:00
openssl deps: add openssl support for arm64 2020-08-25 10:54:43 -05:00
uv deps: upgrade to libuv 1.40.0 2020-09-27 01:30:31 +00:00
uvwasi deps: update to uvwasi 0.0.11 2020-09-11 05:46:06 -07:00
v8 deps: V8: backport 4bf051d536a1 2020-12-13 22:03:41 +01:00
zlib build: fix zlib inlining for IA-32 2020-11-09 12:35:42 -08:00