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

Ioi Lam iklam at openjdk.java.net
Mon Jan 24 04:22:08 UTC 2022


On Sat, 22 Jan 2022 13:33:24 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> 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

Looks good to me. I've validated with these builds locally on my machine: linux-x64-debug linux-aarch64-open-debug linux-arm32 linux-ppc64le-debug linux-s390x-debug linux-aarch64-debug linux-arm32-open-debug linux-aarch64-lic

I am running a mach5 job for tier1 + builds-tier5. That should cover most of the builds done by the Oracle CI. I'll post the results when they are ready.

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

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


More information about the shenandoah-dev mailing list