RFR: JDK-8280503: Use allStatic.hpp instead of allocation.hpp where possible [v2]

Thomas Stuefe stuefe at openjdk.java.net
Mon Jan 24 05:44:50 UTC 2022


> JDK-8249944 moved AllStatic to its own header. We should use that one instead of allocation.hpp where possible to reduce header dependencies.
> 
> This patch:
> - replaces includes of allocation.hpp with allstatic.hpp where appropiate
> - fixes up resulting errors since this changes uncovers missing dependencies. Mainly, missing includes of debug.hpp, of globalDefinitions.hpp, and missing outputStream definitions.
> 
> Changes are trivial but onerous. Done partly with a script, partly manually.
> 
> Test:
> - Checked the build with gtests on Linux x86, x64, minimal, zero, aarch64, for both fastdebug and release. All builds of course without PCH.
> - GHAs

Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:

  add missing includes for macos, windows

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7188/files
  - new: https://git.openjdk.java.net/jdk/pull/7188/files/37fd8fdb..2f60b989

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7188&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7188&range=00-01

  Stats: 2 lines in 2 files changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7188.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7188/head:pull/7188

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


More information about the shenandoah-dev mailing list