-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use slices of pointers in pprofile #11339
Use slices of pointers in pprofile #11339
Conversation
I ended up turning all of them from values to pointers, as each of them looks like it could be big (link may be the only grey one). |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11339 +/- ##
==========================================
+ Coverage 91.51% 91.54% +0.03%
==========================================
Files 430 428 -2
Lines 20226 20230 +4
==========================================
+ Hits 18509 18519 +10
+ Misses 1342 1337 -5
+ Partials 375 374 -1 ☔ View full report in Codecov by Sentry. |
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description All these slices of values have a potential to store large amounts of data, and should therefore be slices of pointers. <!-- Issue number if applicable --> #### Link to tracking issue Fixes open-telemetry#11281 cc @mx-psi @bogdandrutu
Description
All these slices of values have a potential to store large amounts of data, and should therefore be slices of pointers.
Link to tracking issue
Fixes #11281
cc @mx-psi @bogdandrutu