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

Remove dead code in Pressure::lower

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b04

      When building the physical IFG, we step backwards in each block, and remove things that are defined from the LIVE_OUT, (and lower the current pressure) and add input to the LIVE_OUT (and raising the current pressure). Each time we lower or raise the current pressure, we check if it's bigger than the current maximum pressure, known as final_pressure. However the final_pressure can never increase when removing definitions (i.e. lower the current pressure) so the check for a new final_pressure in Pressure::lower is useless.

            adlertz Niclas Adlertz (Inactive)
            adlertz Niclas Adlertz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: