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

IGV: XML does not save all node properties

XMLWordPrintable

    • b23

      When C2 sends graphs over the network to IGV, each <graph> is sent separately. The same applies if C2 saves graphs to XML.

      To save space, graphs that are saved from IGV only contains the incremental difference for each graph. This saves a lot of space (usually ~10x). The logic happens in Printer.java -> `exportInputGraph(.., difference=true, ...)` Unfortunately, there is a bug in this logic: the properties of the nodes are not saved correctly.

      difference_false.xml - a XML saved from C2
      difference_true.xml - opened difference_false.xml in IGV and save as difference_true.xml.

      E.g. The root in the last graph of difference_true.xml has way less properties than in difference_false.xml.

        1. difference_false.xml
          224 kB
        2. difference_true.xml
          71 kB
        3. root_false.png
          root_false.png
          77 kB
        4. root_true.png
          root_true.png
          40 kB

            tholenstein Tobias Holenstein
            tholenstein Tobias Holenstein
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: