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

Cleanup include directives for precompiled.hpp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • None
    • b27

      The precompiled header file is:

      src/hotspot/share/precompiled/precompiled.hpp

      The normal way to include precompiled headers is to just have:

      #include "precompiled.hpp"

      as the first directive in a file. This works because the makefiles set:

       -I$(TOPDIR)/src/hotspot/share/precompiled

       Some files instead have:

      #include "precompiled/precompiled.hpp"

      ./os/bsd/semaphore_bsd.cpp
      ./os/linux/waitBarrier_linux.cpp
      ./os/posix/semaphore_posix.cpp
      ./os/posix/signals_posix.cpp

      This should be trivially cleaned up.

            dholmes David Holmes
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: