test: wait for FFI background optimization · nodejs/node@63e6f2e · GitHub
Skip to content

Commit 63e6f2e

Browse files
trivikraduh95
authored andcommitted
test: wait for FFI background optimization
The pointer range test creates multiple closures from the same function literals and explicitly requests synchronous optimization. V8 can also schedule concurrent recompilation for those closures. Wait for background optimization before closing the dynamic library so compiler jobs cannot outlive the fast FFI metadata they reference. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: codex:gpt-5.6-sol PR-URL: #65300 Refs: https://github.com/nodejs/reliability/issues?q=sort%3Aupdated-desc%20%22test-ffi-fast-integer-validation%22 Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
1 parent a77b1e6 commit 63e6f2e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/ffi/test-ffi-fast-integer-validation.js

Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)