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

Default to non-ASGCT samplers on J9 #152

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Default to non-ASGCT samplers on J9 #152

merged 2 commits into from
Nov 14, 2024

Conversation

jbachorik
Copy link
Collaborator

@jbachorik jbachorik commented Nov 12, 2024

What does this PR do?:
It changes the default behaviour when on J9 the non-ASGCT based samplers will be picked unless otherwise specified.

Motivation:
Due to this OpenJ9 bug we are running the risk of getting the profiled application into live-lock when using ASGCT.

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

Unsure? Have a question? Request a review!

Copy link

🔧 Report generated by pr-comment-cppcheck

CppCheck Report

Warnings (6)

Style Violations (179)

Copy link

🔧 Report generated by pr-comment-scanbuild

Scan-Build Report

User:runner@fv-az1424-386
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 17:47:45 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

Copy link
Contributor

@MattAlp MattAlp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I'm looking at some J9-related performance issues that may interfere with this, let's hold off on merging this (though the livelock is a must-fix).

@jbachorik jbachorik merged commit c725997 into main Nov 14, 2024
32 checks passed
@jbachorik jbachorik deleted the jb/j9_fallback branch November 14, 2024 13:25
@github-actions github-actions bot added this to the 1.18.0 milestone Nov 14, 2024
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.

2 participants