We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9f51aa commit 4111da1Copy full SHA for 4111da1
tcmalloc/central_freelist.h
@@ -545,7 +545,8 @@ inline int CentralFreeList<Forwarder>::RemoveRange(absl::Span<void*> batch) {
545
const uint8_t prev_bitwidth = absl::bit_width(prev_allocated);
546
const uint8_t prev_index = span->nonempty_index();
547
int here = span->FreelistPopBatch(batch.subspan(result), object_size);
548
- TC_ASSERT_GT(here, 0);
+ // TODO(b/451807659): Return this to an assert after debugging is done.
549
+ TC_CHECK_GT(here, 0, "Failed to make progress. Freelist corrupted?");
550
// As the objects are being popped from the span, its utilization might
551
// change. So, we remove the stale utilization from the histogram here and
552
// add it again once we pop the objects.
0 commit comments