Skip to content

buffer: Force copy when appending small slices to OwnedImpl buffer to…#178

Merged
istio-testing merged 1 commit intoistio:release-1.5from
PiotrSikora:buffer_p2-1.5
Mar 4, 2020
Merged

buffer: Force copy when appending small slices to OwnedImpl buffer to…#178
istio-testing merged 1 commit intoistio:release-1.5from
PiotrSikora:buffer_p2-1.5

Conversation

@PiotrSikora
Copy link
Copy Markdown

… avoid fragmentation (#117)

Change OwnedImpl::move to force a copy instead of taking ownership of slices in cases where the offered slices are below kCopyThreshold

Risk Level: medium, changes to buffer behavior
Testing: Unit Tests
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Antonio Vicente avd@google.com

… avoid fragmentation (envoyproxy#117)

Change OwnedImpl::move to force a copy instead of taking ownership of slices in cases where the offered slices are below kCopyThreshold

Risk Level: medium, changes to buffer behavior
Testing: Unit Tests
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Antonio Vicente <avd@google.com>
@istio-testing istio-testing merged commit 2a6eb84 into istio:release-1.5 Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants