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

Bump async profiler #170

Merged
merged 7 commits into from
Nov 28, 2024
Merged

Bump async profiler #170

merged 7 commits into from
Nov 28, 2024

Conversation

aleks-p
Copy link
Contributor

@aleks-p aleks-p commented Nov 26, 2024

Part of #168.

Updates the underlying profiler to include the following changes in async-profiler: async-profiler/async-profiler@4e441b4...6682ad6.

Depends on grafana/async-profiler#4 being merged and a new version of grafana/async-profiler being produced (3.0.0.1). ✅

Main changes here:

  • Bump the version of grafana/async-profiler
  • Simplify library deployment, async-profiler no longer produces musl-specific binaries
  • Add a simple way to test locally produced async-profiler binaries

@aleks-p aleks-p requested review from a team as code owners November 26, 2024 13:33
Copy link
Collaborator

@korniltsev korniltsev left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -135,60 +126,4 @@ private static String targetLibraryFileName(final String libraryFileName) throws

return libraryFileName.substring(0, libraryFileName.length() - 3) + "-" + checksum + ".so";
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

❤️ ❤️ ❤️

@@ -13,14 +13,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu, macos]
java: ['8', '11', '17']
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does the new asprof not work with java 8? or do they just not test it? I had an impression that java 8 will be alive for ages?

Copy link
Contributor Author

@aleks-p aleks-p Nov 28, 2024

Choose a reason for hiding this comment

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

The macOS pipeline for Java 8 failed: https://github.com/grafana/pyroscope-java/actions/runs/12037050274/job/33559780132

basically there is no adopt (temurin) jdk for macOS arm64 as reported here: actions/setup-java#625 and adoptium/adoptium#96

We could switch to Zulu or split the matrix up into ubuntu and macos builds

Copy link
Contributor Author

Choose a reason for hiding this comment

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

switched to zulu for now, shouldn't make a difference for building/testing

@aleks-p aleks-p force-pushed the bump-async-profiler branch from 9d29413 to 048bc26 Compare November 28, 2024 13:32
@aleks-p aleks-p merged commit e102ce2 into main Nov 28, 2024
40 checks passed
@aleks-p aleks-p deleted the bump-async-profiler branch November 28, 2024 20:25
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