davsclaus opened a new pull request, #24367:
URL: https://github.com/apache/camel/pull/24367

   ## Summary
   
   - Adds JFR-based old object sampling for memory leak diagnosis across all 
Camel tooling layers
   - Dev console manages JFR recording lifecycle and aggregates samples by 
class + stack trace fingerprint
   - CLI command (`camel cmd jfr-old-objects`) with `--stacktrace`, 
`--min-size`, `--top` options
   - TUI tab with recording progress, sortable/filterable table, detail panel 
with reference chains and stack traces
   - MCP tool for AI agent access to JFR old object data
   
   ### Features
   
   - **Aggregation**: Samples from the same class and allocation site are 
grouped together with count and total size
   - **Readable names**: JVM array descriptors (`[B`, `[Ljava.lang.String;`) 
converted to human-readable form
   - **Min-size filter**: TUI cycles through preset sizes (1 KB to 100 MB), CLI 
accepts `--min-size 1MB`
   - **Stack trace dimming**: JDK/Jakarta framework frames dimmed in TUI detail 
panel
   - **Recording age**: Title shows how old the cached results are (in minutes)
   
   ## Test plan
   
   - [x] Build all affected modules (camel-console, camel-cli-connector, 
camel-jbang-core, camel-jbang-plugin-tui, camel-jbang-mcp, catalog)
   - [x] Run leak test app and verify samples are captured and aggregated
   - [x] Verify TUI tab: recording progress, results table, detail panel, 
sorting, min-size filter, PgUp/PgDn scrolling
   - [x] Verify CLI: `--query`, `--stacktrace`, `--min-size` options
   - [ ] CI checks
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   Co-Authored-By: Claude <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to