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

Downstream async-profiler fixes and workarounds #52

Merged
merged 6 commits into from
Dec 18, 2023
Merged

Conversation

jbachorik
Copy link
Collaborator

What does this PR do?:
It pulls in a bunch of low-risk, high-reward fixes and workarounds from the upstream

Motivation:
Consistently improving stability

For Datadog employees:

  • If this PR touches code that signs or publishes builds or packages, or handles
    credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

apangin and others added 6 commits December 7, 2023 11:22
(cherry picked from commit a1354b6a75055b50bad9915ed6e90d85b2ad7205)
(cherry picked from commit a852bdd22eaf1563fd7f78d1d040428d48839b3d)
(cherry picked from commit 26954081d384bc90b28f45179bb89bdc747d5f50)
(cherry picked from commit 326d797d5a9aab47a43394932fc5c22666ee6ea4)
(cherry picked from commit 6ab9f83aec0e4d216d3a5b911a6123db6139c544)
(cherry picked from commit ab6a7c9bd5a4df78a58e3a8b172dcf8d8d28b22d)
Copy link

github-actions bot commented Dec 7, 2023

🔧 Report generated by pr-comment-cppcheck

CppCheck Report

Warnings (2)

Style Violations (152)

Copy link

github-actions bot commented Dec 7, 2023

🔧 Report generated by pr-comment-scanbuild

Scan-Build Report

User:runner@fv-az1501-340
Working Directory:/home/runner/work/java-profiler/java-profiler/ddprof-lib/src/test/make
Command Line:make -j4 clean all
Clang Version:Ubuntu clang version 14.0.0-1ubuntu1.1
Date:Thu Dec 7 10:46:23 2023

Bug Summary

Bug TypeQuantityDisplay?
All Bugs6
Logic error
Assigned value is garbage or undefined1
Dereference of null pointer2
Result of operation is garbage or undefined1
Unused code
Dead initialization1
Dead nested assignment1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorAssigned value is garbage or undefineddwarf.cppparseInstructions23120
Unused codeDead initializationlivenessTracker.cppcleanup_table451
Unused codeDead nested assignmentvmStructs.cppcheckNativeBinding6951
Logic errorDereference of null pointerflightRecorder.cppflush14008
Logic errorDereference of null pointersafeAccess.hload3518
Logic errorResult of operation is garbage or undefineddwarf.hgetSLeb12325

@jbachorik jbachorik marked this pull request as ready for review December 12, 2023 11:24
@jbachorik jbachorik merged commit efb1668 into main Dec 18, 2023
@jbachorik jbachorik deleted the jb/downstream_fixes branch December 18, 2023 11:24
@jbachorik jbachorik added this to the 0.91.0 milestone Dec 18, 2023
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.

3 participants