Commit Graph
4 Commits
Author SHA1 Message Date
Seongeun Lee 721aad42f5 src: reuse cached env strings in remaining files
Follow-up to #59891, covering files it missed.
Overlapping locations (node_ffi.cc, crypto_util.cc) were already
handled by #64760.

Refs: https://github.com/nodejs/node/pull/59891
Refs: https://github.com/nodejs/node/pull/64760
Refs: https://github.com/nodejs/node/pull/64912

Signed-off-by: leah-1ee <selee3196@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/65039
Refs: https://github.com/nodejs/node/pull/59891
Refs: https://github.com/nodejs/node/pull/64760
Refs: https://github.com/nodejs/node/pull/64912
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2026-08-08 15:54:21 +00:00
James M Snell a1244f04de src: make additional cleanups in node locks impl
* Track memory held by the Lock instance
* Clean up some Utf8/TwoByteString handling

PR-URL: https://github.com/nodejs/node/pull/60061
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2025-10-11 15:11:31 +00:00
James M Snell fdb6e66227 src: update locks to use DictionaryTemplate
...and other minor cleanups

PR-URL: https://github.com/nodejs/node/pull/60061
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2025-10-11 15:11:31 +00:00
ishabi 062e8b5a74 worker: add web locks api
PR-URL: https://github.com/nodejs/node/pull/58666
Fixes: https://github.com/nodejs/node/pull/36502
Refs: https://w3c.github.io/web-locks
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2025-07-18 07:55:10 -07:00