Bug 582791 - Check if dump is truncated if possible
Summary: Check if dump is truncated if possible
Status: CLOSED MOVED
Alias: None
Product: MAT
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin Grigorenko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-18 15:05 EST by Kevin Grigorenko CLA
Modified: 2024-05-08 17:03 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Grigorenko CLA 2023-12-18 15:05:32 EST
Core dump truncation is a common issue when loading dumps for IBM Java and IBM Semeru Runtimes. The most common manifestation of this is the error, "Unable to find Java runtime [...]". Recent versions of DTFJ have the Image.isTruncated method that checks for this condition: https://eclipse.dev/openj9/docs/api/jdk8/platform/dtfj/com/ibm/dtfj/image/Image.html#isTruncated--

It would be nice if MAT performed this check, if available, and gave the user a more detailed error message along with common causes of truncation.
Comment 2 Eclipse Webmaster CLA 2024-05-08 17:03:40 EDT
This issue has been migrated to https://github.com/eclipse-mat/org.eclipse.mat/issues/44.