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

Improve debuggability of failing profiler tests #161

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

jbachorik
Copy link
Collaborator

What does this PR do?:
Make the test JFR files optionally persistent

Motivation:
Improve the debuggability of intermittent test failures

Unsure? Have a question? Request a review!

Copy link

github-actions bot commented Jan 2, 2025

🔧 Report generated by pr-comment-scanbuild

Scan-Build Report

User:runner@fv-az1933-439
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:Thu Jan 2 11:47:07 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.cppfind84616
Unused codeDead nested assignmentvmStructs.cppcheckNativeBinding9511
Logic errorDereference of null pointersafeAccess.hload3318
Logic errorDereference of null pointersymbols_linux.hElfParser12928
Logic errorDereference of null pointerflightRecorder.cppflush15048

Copy link

github-actions bot commented Jan 2, 2025

🔧 Report generated by pr-comment-cppcheck

CppCheck Report

Warnings (7)

Style Violations (402)

@jbachorik jbachorik merged commit 0acc7d5 into main Jan 2, 2025
68 of 69 checks passed
@github-actions github-actions bot added this to the 1.18.0 milestone Jan 2, 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.

1 participant