Skip to content

[Feature] LazyMemorySegmentPool use BlockingQueue instead of using list with lock #136

@wuchong

Description

@wuchong

Originally posted by swuferhong November 27, 2024
Currently, in LazyMemorySegmentPool, we use a List with a lock to manage cachePages. This approach requires the use of locks and manual writing await logic, which is not as efficient as using a BlockingQueue. Moreover, replacing it with a BlockingQueue would not introduce any potential correctness issues.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions