mat
mat copied to clipboard
Check if dump is truncated if possible
| --- | --- | | 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.