Currently, we can only take snapshots of the IR, and dump it to be visualized by IGV.
According to [~rcastanedalo], IGV already supports incremental graph updates.
Goal: add support to VM for incremental graph updates.
If we do this for the whole compilation, this may create too much data, and too many step points. Thus, we may want to be able to switch from periodic snapshot to incremental graph updates. Consider to add debugger functionality. Maybe even via VM flags (probably not).
Some thoughts:
This probably means logging all changes to the IR. Inputs / outputs. Setting types, etc. Investigate what else!
Intermediate states may not be consistent: input/output may not match. Does this create issues?
According to [~rcastanedalo], IGV already supports incremental graph updates.
Goal: add support to VM for incremental graph updates.
If we do this for the whole compilation, this may create too much data, and too many step points. Thus, we may want to be able to switch from periodic snapshot to incremental graph updates. Consider to add debugger functionality. Maybe even via VM flags (probably not).
Some thoughts:
This probably means logging all changes to the IR. Inputs / outputs. Setting types, etc. Investigate what else!
Intermediate states may not be consistent: input/output may not match. Does this create issues?
- blocks
-
JDK-8297694 IdealGraphVisualizer improvements
- In Progress