RFR: 8257238: Cleanup include directives for precompiled.hpp

David Holmes dholmes at openjdk.java.net
Mon Nov 30 01:17:00 UTC 2020


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.

-------------

Commit messages:
 - 8257238: Cleanup include directives for precompiled.hpp

Changes: https://git.openjdk.java.net/jdk/pull/1510/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1510&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8257238
  Stats: 6 lines in 4 files changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1510.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1510/head:pull/1510

PR: https://git.openjdk.java.net/jdk/pull/1510


More information about the hotspot-runtime-dev mailing list