-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffitype-performanceIssue relates to performance or code sizeIssue relates to performance or code size
Description
Right now the FFI kernel transformer lowers @FfiNatives into static fields containing a lazily populated closure that is created by calling a resolution function.
Old natives do not require a static field, so this is in some ways a regression when switching from old natives to ffi natives.
We'd like to avoid usage of static fields for several reasons: It increases the root set in a way that scales as O(num-isolates x num-ffi-natives).
fzyzcjy and iapicca
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffitype-performanceIssue relates to performance or code sizeIssue relates to performance or code size