RFR: 8373599: Cleanup arguments.hpp includes

Stefan Karlsson stefank at openjdk.org
Fri Dec 12 14:21:57 UTC 2025


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.

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

Commit messages:
 - 8373599

Changes: https://git.openjdk.org/jdk/pull/28791/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28791&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373599
  Stats: 68 lines in 7 files changed: 38 ins; 20 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/28791.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28791/head:pull/28791

PR: https://git.openjdk.org/jdk/pull/28791


More information about the hotspot-dev mailing list