RFR: 8355276: Sort C2 includes

Aleksey Shipilev shade at openjdk.org
Fri Jun 20 09:02:35 UTC 2025


On Fri, 20 Jun 2025 08:17:24 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:

> This PR sorts the includes in `hotspot/share/opto` using `test/hotspot/jtreg/sources/SortIncludes.java` and enforces sorted includes for C2 sources in `sources/TestIncludesAreSorted.java`.
> 
> Testing:
>  - [ ] [Github Actions](https://github.com/mhaessig/jdk/actions/runs/15773777177)
>  - [ ] tier1,tier2 plus Oracle internal testing on Oracle supported platforms

Oh, great, Windows GHA is apparently failing out with MSVC `14.43` and new runner image. I guess there is no choice but to switch to `14.44` now :) https://github.com/openjdk/jdk/pull/25912. Wait until GHA is stable again, so to check that MSVC accepts the include order correctly?

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

PR Comment: https://git.openjdk.org/jdk/pull/25910#issuecomment-2990352921


More information about the graal-dev mailing list