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.
-
Manuel Hässig
-
Manuel Hässig
- Votes:
-
0 Vote for this issue
- Watchers:
-
1 Start watching this issue
- Created:
- Updated: