mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
7f2c810814
This patch: - Initializes cppgc in InitializeOncePerProcess() when kNoInitializeCppgc is not set - Create a CppHeap and attach it to the Isolate when there isn't one already during IsolateData initialization. The CppHeap is detached and terminated when IsolateData is freed. - Publishes the cppgc headers in the tarball. This allows C++ addons to start using cppgc to manage objects. A helper node::SetCppgcReference() is also added to help addons enable cppgc tracing in a user-defined object. Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com> Refs: https://github.com/nodejs/node/issues/40786 PR-URL: https://github.com/nodejs/node/pull/45704 Refs: https://docs.google.com/document/d/1ny2Qz_EsUnXGKJRGxoA-FXIE2xpLgaMAN6jD7eAkqFQ/edit Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> |
||
---|---|---|
.. | ||
async-cleanup-hook | ||
async-hello-world | ||
async-hooks-id | ||
async-resource | ||
buffer-free-callback | ||
callback-scope | ||
cppgc-object | ||
dlopen-ping-pong | ||
errno-exception | ||
force-context-aware | ||
heap-profiler | ||
hello-world | ||
hello-world-function-export | ||
load-long-path | ||
make-callback | ||
make-callback-domain-warning | ||
make-callback-recurse | ||
new-isolate-addon | ||
new-target | ||
no-addons | ||
node-module-version | ||
non-node-context | ||
not-a-binding | ||
null-buffer-neuter | ||
openssl-binding | ||
openssl-client-cert-engine | ||
openssl-key-engine | ||
openssl-providers | ||
openssl-test-engine | ||
parse-encoding | ||
register-signal-handler | ||
repl-domain-abort | ||
report-api | ||
report-fatalerror | ||
request-interrupt | ||
stringbytes-external-exceed-max | ||
symlinked-module | ||
uv-handle-leak | ||
worker-addon | ||
worker-buffer-callback | ||
zlib-binding | ||
.gitignore | ||
addons.status | ||
common.gypi | ||
testcfg.py |