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

Remove excessive inclusion of arguments.hpp

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b14

      Description

      The large header file arguments.hpp is included by popular header files such as constMethod.hpp and methodCounters.hpp (which are included by method.hpp, which is included by almost every cpp file).

      The dependencies on arguments.hpp by constMethod.hpp are very small, and can be moved to constMethod.cpp.

      methodCounters.hpp does not depend on arguments.hpp

      ===
      by removing these dependencies, we can reduce the total number of include files in the hotspot build from 530,921 to 523,010, or a reduction of about 1.5%.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: