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

Remove dead code in Pressure::lower

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b04

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: