Skip to content

Commit

Permalink
Replace MappedMemory::Allocation with memory::Allocation in comments (f…
Browse files Browse the repository at this point in the history
…acebookincubator#10336)

Summary: Pull Request resolved: facebookincubator#10336

Reviewed By: pedroerp

Differential Revision: D59285314

Pulled By: bikramSingh91

fbshipit-source-id: 18737182a28d63eea6a8ccc4ab8f6145027f320a
  • Loading branch information
mapleFU authored and facebook-github-bot committed Jul 2, 2024
1 parent 49407ff commit 4a0ce3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion velox/common/memory/HashStringAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

namespace facebook::velox {

/// Implements an arena backed by MappedMemory::Allocation. This is for backing
/// Implements an arena backed by memory::Allocation. This is for backing
/// ByteOutputStream or for allocating single blocks. Blocks can be individually
/// freed. Adjacent frees are coalesced and free blocks are kept in a free list.
/// Allocated blocks are prefixed with a Header. This has a size and flags.
Expand Down
2 changes: 1 addition & 1 deletion velox/docs/develop/arena.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Arena Allocation
================

exec::HashStringAllocator implements an arena backed by MappedMemory::Allocation
exec::HashStringAllocator implements an arena backed by memory::Allocation
and supports contiguous and non-contiguous allocations. It is used to store
variable width accumulators for the aggregate functions, hash tables for joins
and aggregations. It is also used to back byte streams used to serialize and
Expand Down
2 changes: 1 addition & 1 deletion velox/flag_definitions/flags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <gflags/gflags.h>

// Used in velox/common/memory/MappedMemory.cpp
// Used in velox/common/memory/Memory.cpp

DEFINE_int32(
velox_memory_num_shared_leaf_pools,
Expand Down

0 comments on commit 4a0ce3e

Please sign in to comment.