]> git.kaiwu.me - njs.git/commit
Modules: clarify context reuse memory check comment
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 30 Oct 2026 01:48:58 +0000 (18:48 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Mon, 2 Nov 2026 14:42:35 +0000 (06:42 -0800)
commit1995b610fd2a298a6a7bd15723701995b6c8fd87
tree58d7ac67e47955d524d6822226b934f13b629df7
parent9d99e848a403f7c6f2657e67572d41e1f109a28f
Modules: clarify context reuse memory check comment

The comment claimed that the memory usage of a reused QuickJS
runtime could only remain high if the global scope was modified.
Values retained by engine internals and uncollected garbage are also
counted, while memory outside of the runtime is not.
nginx/ngx_js.c