Comments (4)
FinalizationGroup
is now FinalizationRegistry
from objectbuffer.
Weak ref is set to enable by default in chrome 84, (Beginning of July ?)
https://www.chromestatus.com/features/5892186633666560
It's reasonable to assume that node 14 will also get it enabled by default
from objectbuffer.
Re-thinking it
It's unsafe to let FinalizationRegistry call direct cleanup without locks
And we don't have locks built-in
The api will need to be that FinalizationRegistry creates internal queue, and the user may acquire lock and run function will do the actual work
from objectbuffer.
following #71 (comment)
inaccessible addressed will be saved into array,
And the user will need to explicitly call collectGarbage
to actually free the memory
from objectbuffer.
Related Issues (20)
- [Optimizations] In hashmap creation don't check if key already exists in bucket
- Add more benchmarks to CI
- Make object faster maybe similar to https://v8.dev/blog/fast-properties HOT 6
- Global string dedup cache
- Why does Node.js not provide something like SharedObjectBuffers out of the box? HOT 4
- look for v8 deopts
- Data structures notes [WIP]
- Allocator changes working plan HOT 1
- Near-term work plan
- [Feat]Iterative/non-blocking memory reclaim
- [Feat]Remove the class wrapper on top of the functional allocator
- [Feat]Find and refactor-out closures
- Explore thread-safe lock-free data structures using atomics
- Track resizablearraybuffer proposal [Stage 3] HOT 2
- [BUG] Make not sense when i tried to get non-existent array index HOT 4
- Track structs - Fixed Layout Objects proposal [Stage 1]
- npm run browser-playground not working: SyntaxError: Cannot use import statement outside a module HOT 2
- Would it make sense to support WeakMaps? HOT 1
- RangeError: Start offset undefined is outside the bounds of the buffer HOT 3
- How to reliably estimate size without too much overhead? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from objectbuffer.