Skip to content

Commit 850899b

Browse files
TCMalloc Teamcopybara-github
authored andcommitted
Increase maximum possible batch size back to 128.
PiperOrigin-RevId: 831381177 Change-Id: Ia1bbdb98ca31c73846496149b8302c483c13bce1
1 parent ec56365 commit 850899b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tcmalloc/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ static_assert(kMaxClass <= std::numeric_limits<CompactSizeClass>::max());
199199
// Actual numbers depends on a number of factors, see TransferCache::Init
200200
// for details.
201201
inline constexpr size_t kMinObjectsToMove = 2;
202-
inline constexpr size_t kMaxObjectsToMove = 32;
202+
inline constexpr size_t kMaxObjectsToMove = 128;
203203

204204
inline constexpr size_t kPageSize = 1 << kPageShift;
205205

0 commit comments

Comments
 (0)