mat icon indicating copy to clipboard operation
mat copied to clipboard

Check if dump is truncated if possible

Open eclipsewebmaster opened this issue 1 year ago • 1 comments

| --- | --- | | Bugzilla Link | 582791 | | Status | ASSIGNED | | Importance | P3 normal | | Reported | Dec 18, 2023 15:05 EDT | | Modified | Jan 06, 2024 06:02 EDT | | Reporter | Kevin Grigorenko |

Description

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.

eclipsewebmaster avatar May 08 '24 21:05 eclipsewebmaster

By Kevin Grigorenko on Dec 29, 2023 10:55

https://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=0f522dfba36f39b05a1d2cfd2d973e17a05b2547

https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/205881

eclipsewebmaster avatar May 08 '24 21:05 eclipsewebmaster