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.
- links to
-
Commit(master) openjdk/jdk/bf7d40d0
-
Review(master) openjdk/jdk/25714