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

Remove unnecessary inclusion of vm_version.hpp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • 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.

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

              Created:
              Updated:
              Resolved: