summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-12-01 01:30:40 +0100
committerAnna Henningsen <anna@addaleax.net>2019-12-07 22:55:17 +0100
commit1e5911d5a3c35672941f2dcad6b9a95efa367404 (patch)
tree2013cb6ae236576f9578da1e719f059258f17756 /node.gyp
parent4e119202512c16abdc9e97b87bae73cc6353b575 (diff)
downloadandroid-node-v8-1e5911d5a3c35672941f2dcad6b9a95efa367404.tar.gz
android-node-v8-1e5911d5a3c35672941f2dcad6b9a95efa367404.tar.bz2
android-node-v8-1e5911d5a3c35672941f2dcad6b9a95efa367404.zip
src: port memory-tracking allocator from QUIC repo
This implements a memory-tracking allocator that can be used to provide memory allocation facilities to several thread-safe C libraries, including nghttp2, nghttp3, ngtcp3 and uvwasi. Refs: https://github.com/nodejs/quic/blob/34ee0bc96f804c73cb22b2945a1a78f780938492/src/node_mem.h Co-authored-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/30745 Refs: https://github.com/nodejs/quic/pull/126 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 0a6bbd6100..7b971b5739 100644
--- a/node.gyp
+++ b/node.gyp
@@ -627,6 +627,8 @@
'src/node_i18n.h',
'src/node_internals.h',
'src/node_main_instance.h',
+ 'src/node_mem.h',
+ 'src/node_mem-inl.h',
'src/node_messaging.h',
'src/node_metadata.h',
'src/node_mutex.h',