Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8283773

IGV: VM support for incremental graph updates, dumped to IGV

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 19
    • hotspot

      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?

        1. small.xml
          1.56 MB
          Emanuel Peter
        2. small-incremental.xml
          175 kB
          Emanuel Peter

            epeter Emanuel Peter
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: