Skip to content

Batch Span::Delete in StaticForwarder::DeallocateSpans - #1325

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_995150925
Oct 12, 2026
Merged

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

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Batch Span::Delete in StaticForwarder::DeallocateSpans

Add absl::Span<T* absl_nonnull> batch overload to MetadataObjectAllocator::Delete and absl::Span<Span* absl_nonnull> overload to Span::Delete, and call Span::Delete(free_spans) once in StaticForwarder::DeallocateSpans instead of acquiring and releasing metadata_lock_ on every individual span in the loop.

@google-cla

google-cla Bot commented Oct 7, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service
copybara-service Bot force-pushed the test_995150925 branch 5 times, most recently from b8250e5 to 4b5c3ed Compare October 12, 2026 20:12
Add absl::Span<T* absl_nonnull> batch overload to MetadataObjectAllocator::Delete and absl::Span<Span* absl_nonnull> overload to Span::Delete, and call Span::Delete(free_spans) once in StaticForwarder::DeallocateSpans instead of acquiring and releasing metadata_lock_ on every individual span in the loop.

PiperOrigin-RevId: 998146855
@copybara-service
copybara-service Bot merged commit 3bafb04 into master Oct 12, 2026
18 of 19 checks passed
@copybara-service
copybara-service Bot deleted the test_995150925 branch October 12, 2026 21:14

This branch was successfully deployed

1 active deployment
github-pages — 3bafb04d Deployed Oct 12, 2026 by github-pages[bot] via deploy #2953
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.

0 participants