Antoine du Hamel
9f0a3e636b
tools: improve backport review script
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62573
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-10 20:04:30 +00:00
Rohan Santhosh Kumar
4c4c9e7a47
doc: fix spelling in release announcement guidance
...
PR-URL: https://github.com/nodejs/node/pull/62663
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 21:30:43 +02:00
Jamie Magee
3b8d6c4226
doc: note GCC >= 14 requirement for native riscv64 builds
...
V8's deps/v8/src/base/cpu.cc unconditionally includes <riscv_vector.h>
and uses __attribute__((target("arch=+v"))) for runtime RVV detection
when V8_HOST_ARCH_RISCV64 is defined (native builds only). GCC 13 does
not support the RISC-V target attribute and its riscv_vector.h cannot
be included without -march=rv64gcv, so native riscv64 builds require
GCC >= 14 or Clang >= 19.
Add a footnote to the riscv64 row in the platform list table to
document this. Cross-compilation from x64 is not affected.
Refs: https://github.com/nodejs/build/issues/4099
Signed-off-by: Jamie Magee <jamie.magee@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62607
Refs: https://github.com/nodejs/build/issues/4099
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
2026-04-10 16:31:25 +00:00
Antoine du Hamel
de5644cba8
tools: make v8.nix more stable
...
If we only pass to the V8 builders the dependencies it actually needs,
we can avoid rebuilding the same version of V8 just because an unrelated
Node.js dependency has been updated.
PR-URL: https://github.com/nodejs/node/pull/62508
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-10 14:34:30 +00:00
Filip Skokan
8c3cf47ece
test: update tls junk data error expectations
...
PR-URL: https://github.com/nodejs/node/pull/62629
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-04-10 13:29:46 +00:00
Node.js GitHub Bot
fff57708b6
deps: update archs files for openssl-3.5.6
...
PR-URL: https://github.com/nodejs/node/pull/62629
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-04-10 13:29:45 +00:00
Node.js GitHub Bot
8a0bf4acb8
deps: upgrade openssl sources to openssl-3.5.6
...
PR-URL: https://github.com/nodejs/node/pull/62629
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-04-10 13:29:44 +00:00
Filip Skokan
6d4cfd9b7a
test: ensure WPT report is in out/wpt
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62637
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-04-10 12:06:18 +00:00
Filip Skokan
53e300b395
test: improve WPT runner summary
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62636
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-10 11:47:57 +00:00
Tim Perry
a61445f10a
meta: add QUIC to CODEOWNERS
...
Signed-off-by: Tim Perry <pimterry@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62652
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-04-10 11:27:41 +00:00
Filip Skokan
4dba22f367
test: skip url WPT subtests instead of modifying test script
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62635
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 11:27:31 +00:00
Robert Nagy
4dc18ef29d
stream: noop pause/resume on destroyed streams
...
Signed-off-by: Robert Nagy <ronagy@icloud.com >
PR-URL: https://github.com/nodejs/node/pull/62557
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-04-10 11:13:34 +02:00
Chengzhong Wu
f1ed8d63b5
deps: update perfetto to 54.0
...
PR-URL: https://github.com/nodejs/node/pull/62397
Refs: https://github.com/nodejs/diagnostics/issues/654
Refs: https://issues.chromium.org/issues/457135433
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-04-09 19:37:36 +00:00
Chengzhong Wu
ac618fc985
tools: add perfetto updater
...
PR-URL: https://github.com/nodejs/node/pull/62397
Refs: https://github.com/nodejs/diagnostics/issues/654
Refs: https://issues.chromium.org/issues/457135433
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-04-09 19:37:35 +00:00
Chengzhong Wu
ec45b95c93
deps: add perfetto build files
...
PR-URL: https://github.com/nodejs/node/pull/62397
Refs: https://github.com/nodejs/diagnostics/issues/654
Refs: https://issues.chromium.org/issues/457135433
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-04-09 19:37:34 +00:00
Guilherme Araújo
f01f79ea7c
util: colorize text with hex colors
...
PR-URL: https://github.com/nodejs/node/pull/61556
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-04-09 15:01:51 -04:00
Filip Skokan
41afe9bc18
crypto: guard against size_t overflow on experimental 32-bit arch
...
Refs: https://hackerone.com/reports/3655230
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62626
Refs: https://hackerone.com/reports/3655230
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-09 16:48:39 +00:00
Ruben Bridgewater
8db9d43c45
assert,util: fix stale nested cycle memo entries
...
Temporary nested cycle-tracking entries could remain in the memory set
after a successful comparison. If a later sibling comparison reused one
of those objects, deepStrictEqual could incorrectly fail for equivalent
structures.
This cleans up the temporary nested entries after the nested
comparison returns.
Fixes: https://github.com/nodejs/node/issues/62422
PR-URL: https://github.com/nodejs/node/pull/62509
Fixes: https://github.com/nodejs/node/issues/62422
Reviewed-By: Jordan Harband <ljharb@gmail.com >
2026-04-09 16:48:25 +00:00
Antoine du Hamel
b52102f11d
stream: refactor duplexify to be less suceptible to prototype pollution
...
PR-URL: https://github.com/nodejs/node/pull/62559
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-04-09 15:44:58 +00:00
Ilyas Shabi
f8b79a13bb
v8: add heap profile API
...
PR-URL: https://github.com/nodejs/node/pull/62273
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-09 14:26:14 +00:00
James M Snell
79671cf279
quic: fixup token verification to handle zero expiration
...
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode:Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/62620
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-09 07:10:44 -07:00
James M Snell
90e12f247c
quic: support multiple ALPN negotiation
...
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode:Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/62620
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-09 07:10:35 -07:00
James M Snell
6724cc65af
quic: apply multiple TLS context improvements and SNI support
...
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode:Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/62620
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-09 07:10:33 -07:00
James M Snell
b5c4277e3d
quic: implement rapidhash for hashing improvements
...
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode:Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/62620
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-09 07:10:30 -07:00
Filip Skokan
e6ef4774c2
crypto: align key argument names in docs and error messages
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62527
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-09 08:10:14 +02:00
Filip Skokan
1b5dc9bbc5
crypto: accept key data in crypto.diffieHellman() and cleanup DH jobs
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62527
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-09 08:10:12 +02:00
Ali Hassan
70c1d6b731
src: use stack allocation for small string encoding
...
Use stack-allocated buffers in StringBytes::Encode() for small inputs
instead of heap-allocating via UncheckedMalloc for every call.
Refs: https://github.com/nodejs/performance/issues/194
PR-URL: https://github.com/nodejs/node/pull/62431
Refs: https://github.com/nodejs/performance/issues/194
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2026-04-09 04:25:03 +00:00
Mert Can Altin
9ec4a61de9
crypto: add memory tracking for secureContext openssl objects
...
PR-URL: https://github.com/nodejs/node/pull/59051
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-09 04:24:52 +00:00
Mert Can Altin
7b6a07220f
fs: add signal option to fs.stat()
...
PR-URL: https://github.com/nodejs/node/pull/57775
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-09 04:24:41 +00:00
Node.js GitHub Bot
586403f0c4
deps: update ngtcp2 to 1.22.0
...
PR-URL: https://github.com/nodejs/node/pull/62595
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-04-08 18:41:13 +00:00
nabeel378
2f8063ea3c
doc: note non-monotonic clock in crypto.randomUUIDv7
...
Signed-off-by: nabeel378 <mohammadnabeeljameel@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62600
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-08 13:46:29 +00:00
Matteo Collina
ff08094866
doc: remove extensionless CJS exception for type:module packages
...
Remove the documented exception that extensionless files in
type: "module" packages are recognized as CommonJS when included
via require(). This exception conflicted with the ESM resolution
specification which states that extensionless files within a
package scope with an explicit type field follow the format of
the type field.
The behavior on main already matches the ESM spec since #61600 ,
this change aligns the CJS documentation accordingly.
Refs: https://github.com/nodejs/node/pull/61600
Refs: https://github.com/nodejs/node/pull/62083
PR-URL: https://github.com/nodejs/node/pull/62176
Refs: https://github.com/nodejs/node/pull/61600
Refs: https://github.com/nodejs/node/pull/62083
Refs: https://github.com/nodejs/node/issues/61971
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-08 08:50:21 +00:00
Michael Dawson
43d5058056
meta: move Michael to emeritus
...
Unfortunately I have a lot going on at home and work these days so
I won't have time to contribute for a while and I think it makes
sense to move Emeritus until that changes.
Signed-off-by: Michael Dawson <midawson@redhat.com >
PR-URL: https://github.com/nodejs/node/pull/62536
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-04-07 21:49:36 +00:00
Antoine du Hamel
ae1c0e4d5e
tools: improve output for unexpected passes in WTP tests
...
PR-URL: https://github.com/nodejs/node/pull/62587
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-07 21:29:27 +00:00
Node.js GitHub Bot
78efdf7ea5
deps: update undici to 8.0.2
...
PR-URL: https://github.com/nodejs/node/pull/62384
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-04-07 21:07:31 +00:00
Yuya Inoue
efa05f234f
test: capture negative utimes mtime at call time
...
PR-URL: https://github.com/nodejs/node/pull/62490
Refs: https://github.com/nodejs/node/issues/37692
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-07 20:26:47 +00:00
Richard Lau
8a48913e1c
tools: revert OpenSSL update workflow to ubuntu-latest
...
Workflow requires Docker, which is not available in `ubuntu-slim`.
Signed-off-by: Richard Lau <richard.lau@ibm.com >
PR-URL: https://github.com/nodejs/node/pull/62627
Refs: https://github.com/nodejs/node/pull/62625
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-07 18:59:55 +00:00
René
32cf56a989
meta: populate apt list for slim runner in update-openssl workflow
...
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk >
PR-URL: https://github.com/nodejs/node/pull/62628
Refs: https://github.com/actions/runner-images/issues/13426
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-04-07 18:06:23 +00:00
Filip Skokan
006e7aaa07
test: allow skipping individual WPT subtests
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62517
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-07 18:06:10 +00:00
Ahmed Elhor
68e5f873aa
stream: propagate destruction in duplexPair
...
Ensure destroying one side of a duplexPair triggers destruction of the
other side via process.nextTick(). Only the destruction signal is sent
to avoid breaking changes.
Fixes: https://github.com/nodejs/node/issues/61015
PR-URL: https://github.com/nodejs/node/pull/61098
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-04-07 19:51:49 +02:00
Node.js GitHub Bot
511a57a179
tools: update nixpkgs-unstable to a6522db5b947cd7026a40d02acc3ca26136
...
PR-URL: https://github.com/nodejs/node/pull/62596
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-04-07 01:39:04 +00:00
Node.js GitHub Bot
2c4ef0ae6a
deps: update minimatch to 10.2.5
...
PR-URL: https://github.com/nodejs/node/pull/62594
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-07 01:38:46 +00:00
Node.js GitHub Bot
3f8f67423d
deps: update googletest to d72f9c8aea6817cdf1ca0ac10887f328de7f3da2
...
PR-URL: https://github.com/nodejs/node/pull/62593
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-07 01:38:35 +00:00
Node.js GitHub Bot
82b6206339
deps: update simdjson to 4.6.1
...
PR-URL: https://github.com/nodejs/node/pull/62592
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-07 01:38:25 +00:00
Joyee Cheung
f48ac91894
test: use on-disk fixture for test-npm-install
...
Instead of writing the fixtures on the fly in the test,
put them in the fixtures directory that can be copied into
a temporary directory to reproduce in a debugger.
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62584
Refs: https://github.com/nodejs/node/pull/61898
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-04-07 01:38:13 +00:00
Node.js GitHub Bot
fffd9c6524
test: update WPT for url to 7a3645b79a
...
PR-URL: https://github.com/nodejs/node/pull/62591
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-07 00:58:36 +00:00
Ali Hassan
449a93adc1
inspector: coerce key and value to string in webstorage events
...
Signed-off-by: Ali Hassan <ali-hassan27@outlook.com >
PR-URL: https://github.com/nodejs/node/pull/62616
Refs: https://github.com/nodejs/node/pull/62145
Refs: https://github.com/nodejs/node/pull/62162
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-04-06 13:54:47 -07:00
Rafael Gonzaga
89cc85ce98
doc: update bug bounty program
...
https://nodejs.org/en/blog/announcements/discontinuing-security-bug-bounties
PR-URL: https://github.com/nodejs/node/pull/62590
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-04-06 18:49:18 +00:00
James M Snell
d581ead032
quic: use arena allocation for packets
...
Previously Packets were ReqWrap objects with a shared
free-list. This commit changes to a per-Endpoint arena
with no v8 involvement. This is the design I originally
had in mind but I initially went with the simpler
freelist approach to get something working. There's
too much overhead in the reqrap/freelist approach and
individual packets do not really need to be observable
via async hooks.
This design should eliminate the risk of memory fragmentation
and eliminate a significant bottleneck in the hot path.
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode:Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/62589
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-04-06 11:12:29 -07:00
James M Snell
500c3a53e3
stream: add stream/iter to classic stream adapters
...
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode/Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/62469
Reviewed-By: Robert Nagy <ronagy@icloud.com >
2026-04-06 09:59:56 -07:00