Skip to content

feat: object age distribution & tenuring analysis (#117)#120

Merged
rlaope merged 1 commit intomasterfrom
feat/tenuring-analysis
Apr 12, 2026
Merged

feat: object age distribution & tenuring analysis (#117)#120
rlaope merged 1 commit intomasterfrom
feat/tenuring-analysis

Conversation

@rlaope
Copy link
Copy Markdown
Owner

@rlaope rlaope commented Apr 12, 2026

Summary

  • Add object age distribution histogram and tenuring threshold analysis
  • Live age histogram via argus gcnew <pid> --age-histogram
  • GC log tenuring analysis via argus gclog <file> --tenuring

Changes

  • AgeDistribution β€” model with age entries, thresholds, survivor capacity
  • GcAgeProvider / JdkGcAgeProvider β€” extract age data via jcmd
  • GcNewCommand --age-histogram β€” live age distribution with bar chart
  • TenuringAnalyzer β€” parse age tables from debug GC logs, detect premature promotion
  • GcLogCommand --tenuring β€” tenuring trend + recommendations
  • i18n entries (en/ko/ja)

Test plan

  • ./gradlew :argus-cli:compileJava passes
  • Manual test with live JVM (argus gcnew <pid> --age-histogram)
  • Manual test with debug GC log (argus gclog gc.log --tenuring)

Closes #117

Add tenuring threshold analysis for GC tuning:

- AgeDistribution model with age histogram entries
- JdkGcAgeProvider: extract age data via jcmd GC.heap_info
- GcNewCommand --age-histogram: live age distribution with bars
- TenuringAnalyzer: parse age tables from debug GC logs
- GcLogCommand --tenuring: tenuring trend + recommendations

Signed-off-by: rlaope <piyrw9754@gmail.com>
@rlaope rlaope force-pushed the feat/tenuring-analysis branch from cdf609c to 76b4d73 Compare April 12, 2026 13:27
@rlaope rlaope merged commit 3bec853 into master Apr 12, 2026
7 checks passed
@rlaope rlaope deleted the feat/tenuring-analysis branch April 12, 2026 13:27
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.

feat: object age distribution & tenuring analysis

1 participant