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

epsilonBarrierSet.hpp should not include barrierSetAssembler

XMLWordPrintable

    • gc
    • b27

        epsilonBarrierSet.hpp is included (recursively via access.hpp) by many CPP files. It unncessarily includes of barrierSetAssembler.hpp, which causes many of the native code assembler header files to be unnecessarily included by many HotSpot source files that do not deal with native code assembly.

        Removing this one line reduced the total number of header inclusion for building HotSpot from 260096 to 258193, or about 0.8%.

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

                Created:
                Updated:
                Resolved: