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

Add information about dumping of GrallVM IR graph in documentaiton #523

Open
andrii0lomakin opened this issue Aug 2, 2024 · 4 comments
Open

Comments

@andrii0lomakin
Copy link
Contributor

andrii0lomakin commented Aug 2, 2024

Currently TornadoVM does not dump IR Graph when system properties such as -Djdk.graal.Dump, -Djdk.graal.DumpOnError and so on are provided.

Usage of such properties will allow the use of an Ideal Graph Visualizer (IGV) for the development of different Phases and tracking of bugs.

@andrii0lomakin
Copy link
Contributor Author

It is a very simple change to implement and quite a handy tool for me, so I will do that if there are no objections.

@jjfumero
Copy link
Member

jjfumero commented Aug 2, 2024

We have tornado --igv YourProgram. We use it quite frequently. You need to have IGV open in background, and it will dump all intermediate compilation phases in IGV.

@andrii0lomakin
Copy link
Contributor Author

Yeah, found it. Thank you. Works like a charm. Did not find it there https://tornadovm.readthedocs.io/en/latest/flags.html . Let me keep this issue. I will add changes in the documentation.

@andrii0lomakin andrii0lomakin changed the title [proposal] support of dumping of GrallVM IR graph using "standard" system properties. Add information about dumping of GrallVM IR graph in documentaiton Aug 2, 2024
@andrii0lomakin
Copy link
Contributor Author

@jjfumero JFYI, I am using https://github.com/Shopify/seafoam , it is less feature complete but is more usable IMHO.

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

No branches or pull requests

2 participants