Skip to content

Conversation

jbachorik
Copy link
Collaborator

@jbachorik jbachorik commented Nov 12, 2024

What does this PR do?:
It updates the J9 thread-bridge initialization for changes coming in JDK 19

Motivation:
While checking for the current state of support for profiling on J9 I realized we were not activating profiler on JDK 21

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-10149

Unsure? Have a question? Request a review!

@jbachorik jbachorik requested a review from MattAlp November 12, 2024 15:38
Copy link

github-actions bot commented Nov 12, 2024

🔧 Report generated by pr-comment-cppcheck

CppCheck Report

Warnings (6)

Style Violations (177)

Copy link

github-actions bot commented Nov 12, 2024

🔧 Report generated by pr-comment-scanbuild

Scan-Build Report

User:runner@fv-az1146-900
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:Tue Nov 12 16:51:09 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs6
Logic error
Assigned value is garbage or undefined1
Dereference of null pointer3
Result of operation is garbage or undefined1
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.cppcheckNativeBinding9451
Logic errorDereference of null pointersafeAccess.hload3318
Logic errorDereference of null pointersymbols_linux.hElfParser12932
Logic errorDereference of null pointerflightRecorder.cppflush15048
Logic errorResult of operation is garbage or undefinedvmStructs.cppfind84016

@jbachorik jbachorik marked this pull request as draft November 12, 2024 16:42
@jbachorik jbachorik marked this pull request as ready for review November 12, 2024 17:03
@jbachorik jbachorik merged commit 66b8960 into main Nov 12, 2024
31 checks passed
@github-actions github-actions bot added this to the 1.18.0 milestone Nov 12, 2024
@jbachorik jbachorik deleted the jb/jJ9_thread_bridge branch November 12, 2024 17:20
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