Remove unnecessary inclusion of vm_version.hpp

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: hotspot
    • b06

      In the x86 build, vm_version.hpp includes vm_version_x86.hpp, which is over 1000 lines due to the complexity of the Intel architecture.

      vm_version.hpp is unnecessarily included by these popular header files:
         assembler.hpp
         assembler_x86.hpp
         threadLocalAllocBuffer.hpp

      There are 822 .o files that include vm_version.hpp. Refactoring the code reduces the number to 220 .o files.

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

              Created:
              Updated:
              Resolved: