RFR: 8373599: Cleanup arguments.hpp includes [v2]

Coleen Phillimore coleenp at openjdk.org
Fri Dec 12 16:09:35 UTC 2025


On Fri, 12 Dec 2025 15:06:39 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> In the Valhalla project we are considering using a property in Arguments to figure out if Valhalla is enabled. To minimize transitive-include-proliferation if this property ever needs to be checked in a header I propose that we clean up the header includes in arguments.hpp.
>> 
>> I'm opening the review for this so that I can get opinions on the move of functions. I'm going to compile this on all our platforms and will likely add a few more includes when unrelated files fail to compile because they relied on the includes provided through by java.hpp and arguments.hpp.
>
> Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Sort order

Let's see how many files end up with enable_valhalla() first, then decide, after @Arraying work on https://bugs.openjdk.org/browse/JDK-8371357.

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

PR Comment: https://git.openjdk.org/jdk/pull/28791#issuecomment-3647194853


More information about the hotspot-dev mailing list