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

make Node::dump(int depth) support indent

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • b19
    • generic
    • generic

      The parameter depth accepts both a positive and a negative integer.
      if depth is positive, it will traverse input nodes in breadth-first order .
      if depth is negative, it will traverse output nodes in breadth-first order.

      Currently, Node::dump(depth) doesn't support indent. I found indentation can help developers to recognize dependencies. It's particularly true if the ideal graph is not very deep.

        1. dump2.txt
          1 kB
        2. indent_with_idx.log
          7 kB
        3. root.log
          66 kB

            xliu Xin Liu
            xliu Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: