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

IGV: nodes are wrongly marked as changed in the difference view

XMLWordPrintable

      The first time a difference view between two graphs is opened, all nodes not removed or added will be marked as "changed", and colored in yellow, regardless or whether any of their properties changes or not.

      To reproduce the issue, open IGV and run e.g.:

      $ java -Xbatch -XX:-TieredCompilation -XX:PrintIdealGraphLevel=6 -XX:CompileOnly=java.lang.StringLatin1::charAt

      on a debug build. Then open graph "20. Before Iter GVN", right-click on graph "21. After Iter GVN Step: 99 AndI", and click on "Difference to current graph". The expected result is that only two nodes should be colored in red (removed), one in green (added), and none in yellow (changed), as depicted in expected.png. However, in the actual view (actual.png), all nodes that are not removed or added are colored in yellow, even though they are equal in both graphs.

        1. actual.png
          actual.png
          349 kB
        2. expected.png
          expected.png
          359 kB

            rcastanedalo Roberto Castaneda Lozano
            rcastanedalo Roberto Castaneda Lozano
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: