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

More fixes for the flaky NativeLibrariesTest #163

Merged
merged 2 commits into from
Jan 3, 2025
Merged

Conversation

jbachorik
Copy link
Collaborator

What does this PR do?:
It adjusts the assertions to be more resilient.
It improves debuggability by retaining the JFR recordings in case of failure

Unsure? Have a question? Request a review!

Copy link

github-actions bot commented Jan 3, 2025

🔧 Report generated by pr-comment-cppcheck

CppCheck Report

Warnings (7)

Style Violations (403)

Copy link

github-actions bot commented Jan 3, 2025

🔧 Report generated by pr-comment-scanbuild

Scan-Build Report

User:runner@fv-az2023-518
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 18.1.3 (1ubuntu1)
Date:Fri Jan 3 10:25:05 2025

Bug Summary

Bug TypeQuantityDisplay?
All Bugs5
Logic error
Dereference of null pointer3
Suspicious operation
Bitwise shift1
Unused code
Dead nested assignment1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Suspicious operationBitwise shiftvmStructs.cppfind87216
Unused codeDead nested assignmentvmStructs.cppcheckNativeBinding9771
Logic errorDereference of null pointersafeAccess.hload3318
Logic errorDereference of null pointersymbols_linux.hElfParser12928
Logic errorDereference of null pointerflightRecorder.cppflush15048

@jbachorik jbachorik merged commit 6e6b454 into main Jan 3, 2025
38 checks passed
@jbachorik jbachorik deleted the jb/nativelibs_1 branch January 3, 2025 11:26
@github-actions github-actions bot added this to the 1.18.0 milestone Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants