[Pkg-javascript-devel] Bug#1134110: Consider enabling v8_enable_private_mapping_fork_optimization

Steve Mokris smokris-debian at softpixel.com
Thu Apr 16 16:06:30 BST 2026


Package: nodejs
Version: 22.22.2+dfsg+~cs22.19.15-1
Severity: wishlist

In Node 21 and later, there's: 

> a new build flag v8_enable_private_mapping_fork_optimization which marks all pages allocated by OS::Allocate as MADV_DONTFORK. This improves the performance of Node.js's fork/execve combination by 10x on a 600 MB heap.

Reference: https://github.com/nodejs/node/commit/ce4102e8a559b4f36ee674ef92ddb046b45db789

This flag is off by default; it might be helpful to enable it for the package built by Debian.



More information about the Pkg-javascript-devel mailing list