-
Notifications
You must be signed in to change notification settings - Fork 6.9k
[Core] Refactor reference_counter out of memory store and plasma store #57590
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
base: master
Are you sure you want to change the base?
Changes from all commits
3b1f487
0cfe8e3
4ac6478
f01685f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ class DefaultCoreWorkerMemoryStoreWithThread : public CoreWorkerMemoryStore { | |
private: | ||
explicit DefaultCoreWorkerMemoryStoreWithThread( | ||
std::unique_ptr<InstrumentedIOContextWithThread> io_context) | ||
: CoreWorkerMemoryStore(io_context->GetIoService()), | ||
: CoreWorkerMemoryStore(io_context->GetIoService(), /*reference_counting=*/false), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Mock Initialization Mismatch Causes Test InconsistencyThe |
||
io_context_(std::move(io_context)) {} | ||
|
||
std::unique_ptr<InstrumentedIOContextWithThread> io_context_; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no reason for the default core worker memory store to be created with reference counting disabled.