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

C2: factor out common code in Node::grow() and Node::out_grow()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • b15

      Node:grow() and Node::out_grow() are clearly copy-pasted from each other (see e.g. wrong comment "Grow the input array" in Node::out_grow()), and their core logic could be factor out into a third function, or at least cleaned up.

      Thanks to [~jsjolen] for the suggestion!

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

              Created:
              Updated:
              Resolved: