code wiki / _hdl_build / nx_gcscope_test.nx
nx_gcscope_test.nx
buildroot/runtime/_hdl_build/nx_gcscope_test.nx
about
nx_gcscope_test.nx -- SYSTEMATIC hypothesis for the context-dependent jQuery failures: does GC collect a
CLOSURE-CAPTURED var under heavy allocation? Sizzle captures `document` in its IIFE scope then allocates
massively (matchers, caches) -> if GC doesn't mark closure-captured envs, the var reads undefined at scale.
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_js_eval.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 6 | func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 7 | func cw(s: *u8) -> i64 { sys_write(1,s,slen(s)); return 0 } |
| 8 | func run1(label: *u8, js: *u8) -> i64 |
| 19 | func main() -> i64 calls 1: run1 |