node/test/pummel
Anna Henningsen db6a31d1a1
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-18 10:11:21 +02:00
..
pummel.status
test-array-hash-collision.js
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-18 10:10:52 +02:00
test-buffer-large-size-slowbuffer.js
test-child-process-spawn-loop.js
test-crypto-argon2-nonblocking-constructor.js
test-crypto-dh-hash.js
test-crypto-dh-keys.js
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
test-fs-watch-file-slow.js
test-fs-watch-file.js
test-fs-watch-non-recursive.js
test-fs-watch-system-limit.js
test-heapdump-dns.js
test-heapdump-env.js
test-heapdump-fs-promise.js
test-heapdump-http2.js
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-18 10:11:21 +02:00
test-heapdump-zstd.js
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
test-http-upload-timeout.js
test-https-large-response.js
test-https-no-reader.js
test-keep-alive.js
test-net-many-clients.js
test-net-pause.js
test-net-pingpong-delay.js
test-net-pingpong.js
test-net-timeout.js
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
test-repl-paste-big-data.js
test-stream-pipe-multi.js
test-string-decoder-large-buffer.js
test-structuredclone-jstransferable.js
test-timers.js
test-tls-server-large-request.js
test-tls-throttle.js
test-vm-memleak.js
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-19 14:08:25 +02:00
test-webcrypto-kangarootwelve-32bit-overflow.js
test-worker-take-heapsnapshot.js
testcfg.py