node/test/addons
Daryl Haresign 7f2c810814
src,tools: initialize cppgc
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>
2023-08-11 00:43:51 +00:00
..
async-cleanup-hook
async-hello-world
async-hooks-id test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
async-resource test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
buffer-free-callback
callback-scope test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
cppgc-object src,tools: initialize cppgc 2023-08-11 00:43:51 +00:00
dlopen-ping-pong build,test: add proper support for IBM i 2023-02-22 04:18:56 +00:00
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 src: fix creating Isolates from addons 2022-12-23 17:06:05 +00:00
new-target
no-addons src,process: add permission model 2023-02-23 18:11:51 +00:00
node-module-version
non-node-context test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
not-a-binding
null-buffer-neuter
openssl-binding build,test: add proper support for IBM i 2023-02-22 04:18:56 +00:00
openssl-client-cert-engine test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
openssl-key-engine test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
openssl-providers build,test: add proper support for IBM i 2023-02-22 04:18:56 +00:00
openssl-test-engine
parse-encoding
register-signal-handler
repl-domain-abort test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
report-api report: disable js stack when no context is entered 2023-06-21 13:58:15 +00:00
report-fatalerror test: fix -Wunused-variable on report-fatalerror 2022-12-08 00:00:45 +00:00
request-interrupt
stringbytes-external-exceed-max test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
symlinked-module
uv-handle-leak
worker-addon test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
worker-buffer-callback src: throw DataCloneError on transfering untransferable objects 2023-05-05 11:22:42 +00:00
zlib-binding build,test: add proper support for IBM i 2023-02-22 04:18:56 +00:00
.gitignore
addons.status
common.gypi build,test: add proper support for IBM i 2023-02-22 04:18:56 +00:00
testcfg.py