Skip to content

Commit

Permalink
fix memory arbitration context api
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
  • Loading branch information
zhouyuan committed Oct 8, 2024
1 parent f715212 commit adad6c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/velox/memory/VeloxMemoryManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class ListenableArbitrator : public velox::memory::MemoryArbitrator {
}

uint64_t shrinkCapacity(uint64_t targetBytes, bool allowSpill, bool allowAbort) override {
velox::memory::ScopedMemoryArbitrationContext ctx((const velox::memory::MemoryPool*)nullptr);
velox::memory::ScopedMemoryArbitrationContext ctx();
facebook::velox::exec::MemoryReclaimer::Stats status;
velox::memory::MemoryPool* pool;
{
Expand Down

0 comments on commit adad6c0

Please sign in to comment.