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

Remove code that is never executed due to EXACT_PRESSURE always being 1

    Details

    • Subcomponent:
    • Resolved In Build:
      b26
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Problem:
        In the C2 register allocator, the define EXACT_PRESSURE is set to decide how we estimate the block pressure. There are currently two different ways on how to estimate this. However, EXACT_PRESSURE is always set to 1. This means that the code for the second choice on how to estimate block pressure is never run.

        A comment in the wiki from Tom R. would also indicate that the section option is not needed.
        "There are some ifdefs for EXACT_PRESSURE which could eliminated since I think this is the mode we want."

        Solution:
        Remove the define EXACT_PRESSURE and the code that is never run; executing only the code that now runs within the ifdefs of EXACT_PRESSURE.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  neliasso Nils Eliasson
                  Reporter:
                  adlertz Niclas Adlertz (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: