-
-
Notifications
You must be signed in to change notification settings - Fork 724
refactor(allocator, linter): add ref counter to FixedSizeAllocator
#13135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(allocator, linter): add ref counter to FixedSizeAllocator
#13135
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #13135 will not alter performanceComparing Summary
|
11cb71b to
ab90104
Compare
95015b0 to
fce48b1
Compare
ab90104 to
81db99e
Compare
7e6db63 to
5bd7d9e
Compare
fce48b1 to
23f238c
Compare
23f238c to
5f31d1c
Compare
5bd7d9e to
7cf6186
Compare
5f31d1c to
6121c3e
Compare
6121c3e to
802044e
Compare
1900b28 to
33ce529
Compare
802044e to
7358a6c
Compare
7358a6c to
694f870
Compare
694f870 to
0777540
Compare
0777540 to
deacd22
Compare

Linter previously tracked whether an
Allocator's memory is shared between Rust and JS with anAtomicBoolflag.Replace this flag with an
AtomicU32reference counter. This prepares the way for sharing the memory owned by aFixedSizeAllocatorwith multiple JS threads, and tracking when it's been released by all JS threads, and Rust.