RFR: 8367740: assembler_<cpu>.inline.hpp should not include assembler.inline.hpp

Francesco Andreuzzi fandreuzzi at openjdk.org
Tue Sep 16 10:23:28 UTC 2025


This is the content of assembler.inline.hpp:
https://github.com/openjdk/jdk/blob/ca89cd06d39ed3a6bbe16f60fea4d7382849edbd/src/hotspot/share/asm/assembler.inline.hpp#L28-L30

Most of the `assembler_<cpu>.inline.hpp` include it:
https://github.com/openjdk/jdk/blob/ca89cd06d39ed3a6bbe16f60fea4d7382849edbd/src/hotspot/cpu/zero/assembler_zero.inline.hpp#L29-L32

They should probably include `assembler.hpp` instead.

Testing: tier1 in GHA

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

Commit messages:
 - cc

Changes: https://git.openjdk.org/jdk/pull/27311/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27311&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8367740
  Stats: 5 lines in 5 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/27311.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27311/head:pull/27311

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


More information about the hotspot-compiler-dev mailing list