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

IGV: clean up redundant field _should_send_method

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 25, 26
    • hotspot

      The boolean field IdealGraphPrinter::_should_send_method is initialized to true (https://github.com/openjdk/jdk/blob/45cf32bd2c9e44e2fcbb4b8d0714b87e078cdb7c/src/hotspot/share/opto/idealGraphPrinter.cpp#L159) and after that is only ever once assigned true (https://github.com/openjdk/jdk/blob/45cf32bd2c9e44e2fcbb4b8d0714b87e078cdb7c/src/hotspot/share/opto/idealGraphPrinter.cpp#L386). Since it is only ever used as an if condition, this private field is redundant and should be cleaned up.

            mhaessig Manuel Hässig
            mhaessig Manuel Hässig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: