IGV: clean up redundant field _should_send_method

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 26
    • Affects Version/s: 25, 26
    • Component/s: hotspot
    • b02

      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.

            Assignee:
            Benoît Maillard
            Reporter:
            Manuel Hässig
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: