Skip to content

Upgrade async profiler version#17766

Merged
KKcorps merged 1 commit intoapache:masterfrom
arunkumarucet:DATA-1778
Feb 26, 2026
Merged

Upgrade async profiler version#17766
KKcorps merged 1 commit intoapache:masterfrom
arunkumarucet:DATA-1778

Conversation

@arunkumarucet
Copy link
Contributor

Summary

  • Upgrade async-profiler from v2.9 to v4.3 (latest stable) in all Docker base runtime images
  • Update the GitHub download URL from the old jvm-profiling-tools org to the new async-profiler org
  • Update the symlink target from profiler.sh to bin/asprof (renamed in v3.0)
  • Update LICENSE-binary to reflect the new version

Details

The bundled async-profiler in our Docker images was at v2.9, which is over two major versions behind. This PR upgrades to v4.3 which brings significant improvements including:

  • Native lock profiling
  • CPU/wall profile filtering by latency
  • Prometheus metrics format support
  • async-profiler.jar as a Java agent with remote JMX control
  • FlameGraph improvements (legend, hot keys, new toolbar icons)
  • Heatmap timezone switcher (Local/UTC)
  • OTLP v1.9.0 compatibility
  • Various crash protection and race condition fixes

Breaking changes addressed:

  • The project moved from the jvm-profiling-tools GitHub org to async-profiler -- download URLs updated accordingly.
  • The main CLI script was renamed from profiler.sh to bin/asprof in v3.0 -- symlink target updated. The /usr/local/bin/async-profiler symlink name is preserved for backward compatibility.

Test plan

  • Verified both linux-x64 and linux-arm64 download URLs return HTTP 200
  • Downloaded the linux-x64 tarball and confirmed bin/asprof exists and is executable after extraction with --strip-components 1
  • Docker image build with the updated Dockerfiles

@codecov-commenter
Copy link

codecov-commenter commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.20%. Comparing base (6dabd1d) to head (56f4733).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17766      +/-   ##
============================================
- Coverage     63.21%   63.20%   -0.01%     
  Complexity     1454     1454              
============================================
  Files          3179     3179              
  Lines        191279   191279              
  Branches      29251    29251              
============================================
- Hits         120909   120894      -15     
- Misses        60930    60939       +9     
- Partials       9440     9446       +6     
Flag Coverage Δ
custom-integration1 100.00% <ø> (ø)
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 63.16% <ø> (-0.03%) ⬇️
java-21 63.18% <ø> (+<0.01%) ⬆️
temurin 63.20% <ø> (-0.01%) ⬇️
unittests 63.19% <ø> (-0.01%) ⬇️
unittests1 55.59% <ø> (-0.01%) ⬇️
unittests2 34.11% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@KKcorps KKcorps merged commit 7250717 into apache:master Feb 26, 2026
31 of 32 checks passed
@arunkumarucet arunkumarucet deleted the DATA-1778 branch February 26, 2026 04:17
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.

5 participants