RFR: 8367320: Sort cpu/x86 includes

Albert Mingkun Yang ayang at openjdk.org
Wed Sep 10 09:36:37 UTC 2025


On Wed, 10 Sep 2025 09:17:07 GMT, Francesco Andreuzzi <duke at openjdk.org> wrote:

> Sort includes in `cpu/x86` using `SortIncludes.java`. I'm also removing a couple unnecessary ones.
> 
> Passes `tier1` and `tier2`.

src/hotspot/cpu/x86/continuationEntry_x86.inline.hpp line 29:

> 27: 
> 28: #include "oops/method.inline.hpp"
> 29: #include "runtime/continuationEntry.hpp"

I believe this is the "corresponding .hpp" in "All .inline.hpp files should include their corresponding .hpp file as the first include line..." from the style-guide, so should be kept at the top.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27189#discussion_r2336167042


More information about the hotspot-dev mailing list