node/test/pummel
Anna Henningsen 2fb168f756 src: do not track weak BaseObjects as childrens of Realms
Heap dumps are used for analyzing the relationship between
objects that keep each other alive, so that retainers of
memory can be detected and memory leaks fixed.

6e60ab744e broke this for a wide range of `BaseObject`
instances. Marking all `BaseObject`s, including weak ones,
as children of `Realm` and `Environment` instances gives
the incorrect impression that they are held alive by those
objects, effectively hiding the "real" set of strong roots
that keep other objects alive through GC.

An upcoming change in V8 will allow us to represent this
relationship between `Realm` and `Environment` and its
`BaseObject` and `CppgcMixin` instances properly.

Refs: e37cadf114
Refs: https://github.com/nodejs/node/pull/57417
Signed-off-by: Anna Henningsen <anna@addaleax.net>
PR-URL: https://github.com/nodejs/node/pull/63842
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2026-06-13 23:12:35 +00:00
..
pummel.status
test-array-hash-collision.js build,test: test array index hash collision 2026-03-24 19:50:03 -03:00
test-blob-slice-with-large-size.js
test-buffer-large-size-buffer-alloc-unsafe-slow.js
test-buffer-large-size-buffer-alloc-unsafe.js
test-buffer-large-size-buffer-alloc.js
test-buffer-large-size-buffer-write.js
test-buffer-large-size-copy.js buffer: optimize Buffer.prototype.copy 2026-06-12 23:26:19 +00:00
test-buffer-large-size-slowbuffer.js
test-child-process-spawn-loop.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-crypto-argon2-nonblocking-constructor.js crypto: remove Argon2 KDF derivation from its job setup 2026-04-25 09:00:29 +00:00
test-crypto-dh-hash.js
test-crypto-dh-keys.js crypto: add guards and adjust tests for BoringSSL 2026-05-04 00:00:51 +02:00
test-crypto-pqc-sign-verify-slh-dsa.mjs
test-dh-regr.js
test-fs-largefile.js
test-fs-read-file-sync-utf8-memory.js
test-fs-readfile-tostring-fail.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-fs-watch-file-slow.js lib,test: enforce use of assert.fail via a lint rule 2025-12-11 15:23:33 +01:00
test-fs-watch-file.js
test-fs-watch-non-recursive.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-fs-watch-system-limit.js
test-heapdump-dns.js
test-heapdump-env.js
test-heapdump-fs-promise.js
test-heapdump-http2.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-heapdump-inspector.js
test-heapdump-shadow-realm.js
test-heapdump-tls.js
test-heapdump-urlpattern.js
test-heapdump-vm-script.js
test-heapdump-worker.js
test-heapdump-zlib.js src: do not track weak BaseObjects as childrens of Realms 2026-06-13 23:12:35 +00:00
test-heapdump-zstd.js src: track allocations made by zstd streams 2026-02-09 20:42:56 +00:00
test-heapsnapshot-near-heap-limit-big.js
test-heapsnapshot-near-heap-limit-bounded.js
test-heapsnapshot-near-heap-limit-by-api.js
test-heapsnapshot-near-heap-limit.js
test-http-many-keep-alive-connections.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-http-upload-timeout.js
test-https-large-response.js
test-https-no-reader.js test: ensure assertions are reached on more tests 2025-11-11 09:56:18 +00:00
test-keep-alive.js
test-net-many-clients.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-net-pause.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-net-pingpong-delay.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-net-pingpong.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-net-timeout.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-net-timeout2.js
test-net-write-callbacks.js
test-next-tick-infinite-calls.js
test-process-cpuUsage.js
test-process-hrtime.js
test-regress-GH-892.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-repl-paste-big-data.js repl: remove dependency on domain module 2026-03-06 15:38:36 +00:00
test-stream-pipe-multi.js
test-string-decoder-large-buffer.js
test-structuredclone-jstransferable.js
test-timers.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-tls-server-large-request.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-tls-throttle.js
test-vm-memleak.js tools: add lint rule to ensure assertions are reached 2025-10-07 12:40:05 +00:00
test-vm-race.js
test-watch-file.js
test-webcrypto-derivebits-pbkdf2.js crypto: wire AES-KW in Web Cryptography when using BoringSSL 2026-05-17 18:18:11 +00:00
test-webcrypto-kangarootwelve-32bit-overflow.js crypto: guard against size_t overflow on experimental 32-bit arch 2026-04-09 16:48:39 +00:00
test-worker-take-heapsnapshot.js
testcfg.py