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

Reduce inclusion of registerMap.hpp and register.hpp

    XMLWordPrintable

    Details

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

      Description

      register.hpp is included 815 times, and registerMap.hpp is include 862 times (out of about 1000 HotSpot .o files).

      This can be reduced by refactoring the popular header file frame.hpp, so that it doesn't include registerMap.hpp anymore. This reduces the number of .o files that include register.hpp to 612, and that of registerMap.hpp to 109.

      The total number of lines of C++ code compiled for HotSpot is reduced by about 0.5%.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iklam Ioi Lam
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: