Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Adding a new heapdump format to the Memory Analyzer #60

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

jasonk000
Copy link
Contributor

@jasonk000 jasonk000 commented Jun 13, 2024

ported from the old wiki

linked to #49

@jasonk000 jasonk000 requested a review from krumts June 13, 2024 11:46
Copy link
Contributor

@krumts krumts left a comment

Choose a reason for hiding this comment

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

@jasonk000 Thanks a lot for helping out moving the Wiki content!
I like the content, that you added an intro/overview, and improved a few things!
I commented on just a few small things inline and requested changes. If you prefer, just merge it and we make smaller improvements afterwards.
One additional idea would be to link to the relevant APIs in the API reference which is part of the online eclipse help: https://help.eclipse.org/latest/topic/org.eclipse.mat.ui.help/doc/index.html
But that one requires some more effort, so we probably first simply move the docs.

b. The Parser API makes reading the raw heap dump format pluggable. APIs conform
with Eclipse Quality Standards.

![Eclipse API](images/heapdump_api_packages.png)
Copy link
Contributor

Choose a reason for hiding this comment

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

I like that you added the intro, and also the idea to have an image to visualise the extensions. However, the image is outdated (after 15 years :) )- at the bottom - the DTFJ parts are already in MAT, not 3d party; and I am not sure if the NW sessions parts are still around. I can try to create a new image, I'd suggest for now we simply remove it.


There are some constraints on the indexes that must be met. For example, the
first outbound reference logged for each object must be to the object's class.
More information on these constraints can be found in the thread [http://www.eclipse.org/forums/index.php?t=msg&th=163200&start=0&S=86b5235a33dd47bfed74cb351e531fbf]
Copy link
Contributor

Choose a reason for hiding this comment

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

The link is not rendered properly - a URL in [] is shown. Should it be
[the thread](http://www.eclipse.org/forums/index.php?t=msg&th=163200&start=0&S=86b5235a33dd47bfed74cb351e531fbf)
?

Copy link
Contributor

Choose a reason for hiding this comment

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

as in the comment in the text - I suggest we remove this image (outdated) and I try to come up with a new one


## Other references

- [Graduation review](http://archive.eclipse.org/projects/www/project-slides/Helios/MAT_Helios_Release.pdf)
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess you added this because the image was taken from there. Should we remove it too (if we didn't use the image) or are there other useful details for the topic? I didn't spot them going quickly through the document.

- replaced the outdated image
- added a reference to the online MAT API reference
- fixed a wrongly formatted link

Signed-off-by: Krum Tsvetkov <[email protected]>
@krumts
Copy link
Contributor

krumts commented Dec 5, 2024

@jasonk000 I allowed myself to do the proposed changes - changed the image, fixed a wrongly formatted link and added a link to the online MAT API Reference.
Thanks for porting the content!
I will merge the PR now.

@krumts krumts merged commit 912e12a into master Dec 5, 2024
1 check passed
@krumts krumts deleted the docs-add-new-heapdump-format branch December 5, 2024 13:42
@jasonk000
Copy link
Contributor Author

That's great, thank you @krumts. Not sure why I had not actioned the feedback!

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