Skip to content

Expand central_freelist_fuzz and FakeStaticForwarder to exercise additional CentralFreeList paths and invariants: - #965

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_982895325
Sep 18, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_982895325

Conversation

@copybara-service

Copy link
Copy Markdown

Expand central_freelist_fuzz and FakeStaticForwarder to exercise additional CentralFreeList paths and invariants:

  • Verify GetSpanStats consistency (num_live_spans() == num_spans_requested - num_spans_returned, obj_capacity == num_live_spans() * objects_per_span, length() + live_objects == obj_capacity) after every InsertRange and RemoveRange.
  • Exercise ReleaseSpans (ReleaseToPageHeap when hooks_enabled is true) and verify span release accounting.
  • Exercise set_PrioritizeSpans and PrintSpanUtilStats / PrintSpanUtilStatsInPbtxt.

…additional `CentralFreeList` paths and invariants:

- Verify `GetSpanStats` consistency (`num_live_spans() == num_spans_requested - num_spans_returned`, `obj_capacity == num_live_spans() * objects_per_span`, `length() + live_objects == obj_capacity`) after every `InsertRange` and `RemoveRange`.
- Exercise `ReleaseSpans` (`ReleaseToPageHeap` when `hooks_enabled` is true) and verify span release accounting.
- Exercise `set_PrioritizeSpans` and `PrintSpanUtilStats` / `PrintSpanUtilStatsInPbtxt`.

PiperOrigin-RevId: 984044893
@copybara-service
copybara-service Bot merged commit 2dd2ae0 into master Sep 18, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_982895325 branch September 18, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant