Skip to content
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

chore(profiling): prevent strings from GC'ed whose string_views are passed to native side [backport 2.13] #10828

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 26, 2024

Backport 23a54ce from #10812 to 2.13.

Checklist

  • PR author has checked that all the criteria below are met
  • The PR description includes an overview of the change
  • The PR description articulates the motivation for the change
  • The change includes tests OR the PR description describes a testing strategy
  • The PR description notes risks associated with the change, if any
  • Newly-added code is easy to change
  • The change follows the library release note guidelines
  • The change includes or references documentation updates if necessary
  • Backport labels are set (if applicable)

Reviewer Checklist

  • Reviewer has checked that all the criteria below are met
  • Title is accurate
  • All changes are related to the pull request's stated goal
  • Avoids breaking API changes
  • Testing strategy adequately addresses listed risks
  • Newly-added code is easy to change
  • Release note makes sense to a user of the library
  • If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment
  • Backport labels are set in a manner that is consistent with the release branch maintenance policy

…assed to native side (#10812)

## Checklist
- [x] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [ ] Reviewer has checked that all the criteria below are met
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)

(cherry picked from commit 23a54ce)
@github-actions github-actions bot requested a review from a team as a code owner September 26, 2024 15:38
@github-actions github-actions bot added changelog/no-changelog A changelog entry is not required for this PR. Profiling Continous Profling labels Sep 26, 2024
@taegyunkim taegyunkim closed this Sep 26, 2024
@taegyunkim taegyunkim reopened this Sep 26, 2024
Copy link
Contributor Author

CODEOWNERS have been resolved as:

ddtrace/internal/datadog/profiling/ddup/_ddup.pyx                       @DataDog/profiling-python

@taegyunkim taegyunkim enabled auto-merge (squash) September 26, 2024 16:02
@pr-commenter
Copy link

pr-commenter bot commented Sep 26, 2024

Benchmarks

Benchmark execution time: 2024-09-26 16:17:30

Comparing candidate commit 5ad2d78 in PR branch backport-10812-to-2.13 with baseline commit fd1d3a4 in branch 2.13.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 355 metrics, 45 unstable metrics.

@taegyunkim taegyunkim merged commit 4d28bbb into 2.13 Sep 26, 2024
462 of 464 checks passed
@taegyunkim taegyunkim deleted the backport-10812-to-2.13 branch September 26, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog A changelog entry is not required for this PR. Profiling Continous Profling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant