summaryrefslogtreecommitdiff
path: root/src/node_perf.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2017-09-08 15:36:50 +0200
committerJames M Snell <jasnell@gmail.com>2017-09-15 12:42:15 -0700
commit8403d6b99965cfe5b387690eb5e12ab2d0f3750e (patch)
treeda04c644b36845bbea0f10c2741598bbf30fe92d /src/node_perf.h
parent01a1812e70383fdeefdcc0959327ade633c13b86 (diff)
downloadandroid-node-v8-8403d6b99965cfe5b387690eb5e12ab2d0f3750e.tar.gz
android-node-v8-8403d6b99965cfe5b387690eb5e12ab2d0f3750e.tar.bz2
android-node-v8-8403d6b99965cfe5b387690eb5e12ab2d0f3750e.zip
deps: cherry-pick 9b21865822243 from V8 upstream
Original commit message: [api] Add optional data pointer to GC callbacks This can be useful when there may be multiple callbacks attached by code that's not directly tied to a single isolate, e.g. working on a per-context basis. This also allows rephrasing the global non-isolate APIs in terms of this new API, rather than working around it inside `src/heap`. TBR=hpayer@chromium.org Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: I2e490ec40d1a34ea812f25f41ef9741d2116d965 Reviewed-on: https://chromium-review.googlesource.com/647548 Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Adam Klein <adamk@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#47923} PR-URL: https://github.com/nodejs/node/pull/15391 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'src/node_perf.h')
0 files changed, 0 insertions, 0 deletions