Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Unable to open openj9 coredump file via Eclipse project
Unable to open openj9 coredump file via Eclipse project [message #1846958] Sun, 10 October 2021 15:26 Go to next message
Richard Olson is currently offline Richard OlsonFriend
Messages: 25
Registered: April 2010
Junior Member
Good morning,

I've extended Eclipse MAT. I've successfuly analyzed several Hotspot heapdumps generating various reports.

I'm trying to do the same process by analyzing an openj9 coredump file. Eclipse MAT reads the coredump file without any issues. However, when I enter debug mode in my Eclipse project, MAT opens a file chooser only recognizing .hprof or bin files. If I do "all files" and select my coredump MAT returns messages like:
Error opening heap dump 'core.10005.0001.dmp'. Check the error log for further details.
Not a HPROF heap dump (java.io.IOException)
Not a HPROF heap dump

Eclipse MAT, Open Heapdump File prompt returns a file chooser listing numerous formats including .dmp files.

I attached an example JPG showing my Run Config screen.

Any suggestions?

Thanks,

Rich Olson



  • Attachment: RunConfig.jpg
    (Size: 396.06KB, Downloaded 83 times)
Re: Unable to open openj9 coredump file via Eclipse project [message #1847012 is a reply to message #1846958] Tue, 12 October 2021 08:15 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
Is the org.eclipse.mat.dtfj plug-in listed in the debug configuration?
Are the IBM DTFJ plug-ins available?

Try using the mat-2021-06.target definition in the org.eclipse.mat.targetdef project for your target as that has the IBM DTFJ plug-ins.

Or, try importing the IBM DTFJ plug-ins into your target definition.

Or try importing the com.ibm.dtfj.api and com.ibm.dtfj.j9 plug-ins into your workspace and also add them to your debug configuration. Does the debug configuration validate properly? Go to the plug-ins tab and press 'Validate Plug-ins'.
Re: Unable to open openj9 coredump file via Eclipse project [message #1847019 is a reply to message #1847012] Tue, 12 October 2021 10:01 Go to previous messageGo to next message
Richard Olson is currently offline Richard OlsonFriend
Messages: 25
Registered: April 2010
Junior Member
Good morning Andrew,

Thanks for the suggestions. I'll try them and send an update.

Rich
Re: Unable to open openj9 coredump file via Eclipse project [message #1847033 is a reply to message #1847019] Tue, 12 October 2021 17:51 Go to previous message
Richard Olson is currently offline Richard OlsonFriend
Messages: 25
Registered: April 2010
Junior Member
Hi Andrew,

Just a quick note.

I dropped the following two jars into MAT_HOME/plugins
com.ibm.dtfj.api_1.12.29003.202006111057.jar
com.ibm.dtfj.j9_1.12.29003.202006111057.jar

Restarted my Eclipse session, and stopped on a breakpoint. I'm surprised I need the two jars since I'd installed the IBM DTFJ plugin into Mat 1.12 environment.

Thanks for the help,
Rich Olson
Previous Topic:Issues with MAT reading AdoptJDK openj9 core.dmp files
Next Topic:Histogram comparison for identify memory issue on java classes
Goto Forum:
  


Current Time: Sat Jan 25 07:19:56 GMT 2025

Powered by FUDForum. Page generated in 0.03259 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top