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

IGV: Stable sea of nodes layout is not deterministic

XMLWordPrintable

      I've noticed that the new stable sea of nodes layout is not deterministic. Here are the steps to reproduce this:

      1. Open IGV
      2. Open reproduce.xml
      3. Open the (only) graph After Iter GVN
      4. Search for node 107 ParsePredicate and extract it
      5. Expand neighboring nodes 116 IfTrue and 108 IfFlase
      6. Switch to the stable sea of nodes layout
      7. Expand 61 IfTrue

      Repeating these steps I sometimes get layout1.png and sometimes layout2.png. This randomness seems to be odd and is probably not expected. We should make sure that the algorithm is deterministic and always produces the same layout for the same set of nodes.

        1. layout1.png
          17 kB
          Christian Hagedorn
        2. layout2.png
          14 kB
          Christian Hagedorn
        3. reproduce.xml
          48 kB
          Christian Hagedorn

            Unassigned Unassigned
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: