Commit 8363350
authored
Update vendored System.Memory (#8459)
## Summary of changes
- Update the System.Memory based on NuGet package sources
## Reason for change
We want to update our vendored .NET library versions.
## Implementation details
- Make the vendoring repeatable
- Run the tool, check for errors, tweak, rinse and repeat
- After running the tool, used 🤖 to identify segments of code that
weren't used, so we could strip them out
The updated vendoring is based on the public
[System.Memory](https://www.nuget.org/packages/System.Memory/4.6.3#dependencies-body-tab)
nuget package, so is designed to be used with .NET Framework and .NET
Standard, so makes the most sense to use IMO.
As this package also uses _System.Buffers_ and
_System.Numerics.Vectors_, vendored those pieces we need where
appropriate.
## Test coverage
This is the test, if it compiles and tests pass, we should be ok 🤞
## Other details
https://datadoghq.atlassian.net/browse/APMLP-1207
Note that currently, there's a lot of `Utf8Formatter` code that _isn't_
used, and could be excluded, however, given that theoretically we
could/should use this in the future. I'm torn whether to just leave it
in, or whether to tear it out for now, and restore it if/when we want to
use it later. Any thoughts?
Part of a stack updating our vendored system code
- #8391
- #8454
- #84551 parent 0f47fd3 commit 8363350
169 files changed
Lines changed: 31387 additions & 14795 deletions
File tree
- tracer
- build/_build/UpdateVendors
- dependabot
- src/Datadog.Trace
- Util
- Vendors
- System.Buffers
- System/Buffers
- System.Memory
- Buffers
- Binary
- Text
- FxResources/System/Memory
- Numerics/Hashing
- Runtime/InteropServices
- System
- Buffers
- Binary
- Text
- Utf8Formatter
- Utf8Parser
- Number
- Runtime/InteropServices
- System.Numerics.Vectors
- System/Numerics
- Hashing
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 233 additions & 22 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
80 | 88 | | |
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Lines changed: 173 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments