summaryrefslogtreecommitdiff
path: root/src/env-inl.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-02-18 17:30:10 +0100
committerAnna Henningsen <anna@addaleax.net>2019-02-25 02:01:03 +0100
commit376735345088d4b37e0e289c2eb7720419ed37ee (patch)
tree4771426f776ca9e7e30fab08e1a188f8959b29af /src/env-inl.h
parenta8ba838e1a94c17ecf7a290c1951040d2957cb62 (diff)
downloadandroid-node-v8-376735345088d4b37e0e289c2eb7720419ed37ee.tar.gz
android-node-v8-376735345088d4b37e0e289c2eb7720419ed37ee.tar.bz2
android-node-v8-376735345088d4b37e0e289c2eb7720419ed37ee.zip
src: add debugging array allocator
Add a subclass of `ArrayBufferAllocator` that performs additional debug checking, which in particular verifies that: - All `ArrayBuffer` backing stores have been allocated with this allocator, or have been explicitly marked as coming from a compatible source. - All memory allocated by the allocator has been freed once it is destroyed. PR-URL: https://github.com/nodejs/node/pull/26207 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/env-inl.h')
0 files changed, 0 insertions, 0 deletions