Skip to content

Add SMR Info to Dumps where available#29

Merged
irockel merged 5 commits intomainfrom
feat/SMRInfo
Jan 25, 2026
Merged

Add SMR Info to Dumps where available#29
irockel merged 5 commits intomainfrom
feat/SMRInfo

Conversation

@irockel
Copy link
Copy Markdown
Owner

@irockel irockel commented Jan 25, 2026

No description provided.

@irockel irockel marked this pull request as draft January 25, 2026 08:08
@irockel irockel marked this pull request as ready for review January 25, 2026 10:50
Repository owner deleted a comment from cursor bot Jan 25, 2026
@irockel irockel requested a review from Copilot January 25, 2026 11:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for parsing and displaying Safe Memory Reclamation (SMR) information from Java thread dumps, enabling detection of zombie threads where SMR addresses cannot be resolved to actual threads.

Changes:

  • Added parsing logic to extract SMR info from thread dumps
  • Enhanced thread dump overview to display SMR address resolution table with warnings for unresolved addresses
  • Added MCP server tool get_zombie_threads to identify zombie threads across dumps

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
SunJDKParser.java Added logic to parse and capture SMR info sections from thread dumps
ThreadDumpInfo.java Added smrInfo field, getters/setters, and overview rendering for SMR address resolution table
HeadlessAnalysisProvider.java Added getZombieThreads() method and SMR info to dump summaries
MCPServer.java Registered new get_zombie_threads tool
SunJDKParserTest.java Added tests for SMR info parsing and unresolved address detection
HeadlessAnalysisProviderTest.java Added test for zombie thread analysis
README.md Updated documentation to include get_zombie_threads tool

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

irockel and others added 2 commits January 25, 2026 12:19
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@irockel irockel merged commit 9d00c9a into main Jan 25, 2026
1 check passed
@irockel irockel deleted the feat/SMRInfo branch January 25, 2026 11:21
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