Skip to content

Split java version to 'java version' and 'hotspot version' - #142

Merged
jbachorik merged 1 commit into
mainfrom
jb/java_8_version
Oct 24, 2024
Merged

jbachorik merged 1 commit into
mainfrom
jb/java_8_version

Conversation

@jbachorik

@jbachorik jbachorik commented Oct 23, 2024 •

Copy link
Copy Markdown
Collaborator

What does this PR do?:
It fixes the java and hotspot version retrieval. It splits the version in Java version and Hotspot version (if available) - yes, there still might be distributions allowing combination of different levels of Java and Hotspot.

Motivation:
Reported issue #136

How to test the change?:
Added UT GTests

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.
  • JIRA: PROF-10797

Unsure? Have a question? Request a review!

@jbachorik
jbachorik marked this pull request as ready for review October 23, 2024 16:58
@github-actions

github-actions Bot commented Oct 23, 2024 •

Copy link
Copy Markdown
Contributor

🔧 Report generated by pr-comment-scanbuild

Scan-Build Report

User:runner@fv-az915-236
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:Wed Oct 23 17:03:38 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs5
Logic error
Assigned value is garbage or undefined1
Dereference of null pointer3
Unused code
Dead nested assignment1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorAssigned value is garbage or undefineddwarf.cppparseInstructions24420
Unused codeDead nested assignmentvmStructs.cppcheckNativeBinding8791
Logic errorDereference of null pointersafeAccess.hload3318
Logic errorDereference of null pointersymbols_linux.hElfParser12932
Logic errorDereference of null pointerflightRecorder.cppflush15048

@github-actions

github-actions Bot commented Oct 23, 2024 •

Copy link
Copy Markdown
Contributor

🔧 Report generated by pr-comment-cppcheck

CppCheck Report

Warnings (6)

Style Violations (167)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fixed_version: v_1.16.0 Version this PR's fix shipped in

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants