GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — ffi: make Fast API functions collectable by trivikr · Pull Request #67177 · nodejs/node Conversation
Member
Fixes: #67176 V8 strongly caches instantiations of low-serial
Assisted-by: claude:opus-5.5
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsV8 strongly caches instantiations of low-serial FunctionTemplates, which pinned Fast API functions and, through them, their DynamicLibrary and trampoline. FunctionTemplate::New() has no opt-out, so add an ObjectTemplate property to make these templates uncacheable, then delete it from the new function. Signed-off-by: Kamat, Trivikram <[email protected]> Assisted-by: claude:opus-5.5
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #67177 +/- ## ========================================== - Coverage 90.68% 90.67% -0.02% ========================================== Files 797 797 Lines 278790 278805 +15 Branches 53617 53617 ========================================== - Hits 252834 252815 -19 - Misses 16303 16349 +46 + Partials 9653 9641 -12
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in 70074c6 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
V8 strongly caches instantiations of low-serial FunctionTemplates, which pinned Fast API functions and, through them, their DynamicLibrary and trampoline. FunctionTemplate::New() has no opt-out, so add an ObjectTemplate property to make these templates uncacheable, then delete it from the new function. Signed-off-by: Kamat, Trivikram <[email protected]> Assisted-by: claude:opus-5.5 PR-URL: #67177 Fixes: #67176 Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
V8 strongly caches instantiations of low-serial FunctionTemplates, which pinned Fast API functions and, through them, their DynamicLibrary and trampoline. FunctionTemplate::New() has no opt-out, so add an ObjectTemplate property to make these templates uncacheable, then delete it from the new function. Signed-off-by: Kamat, Trivikram <[email protected]> Assisted-by: claude:opus-5.5 PR-URL: #67177 Fixes: #67176 Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
V8 strongly caches instantiations of low-serial FunctionTemplates, which pinned Fast API functions and, through them, their DynamicLibrary and trampoline. FunctionTemplate::New() has no opt-out, so add an ObjectTemplate property to make these templates uncacheable, then delete it from the new function. Signed-off-by: Kamat, Trivikram <[email protected]> Assisted-by: claude:opus-5.5 PR-URL: nodejs#67177 Fixes: nodejs#67176 Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
ffi: Fast API functions and their DynamicLibrary are pinned by V8's template instantiation cache
There was an error while loading. Please reload this page.