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

Albert Mingkun Yang ayang at openjdk.org
Thu Sep 18 09:04:08 UTC 2025


On Tue, 16 Sep 2025 10:15:06 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:

> 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

Marked as reviewed by ayang (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/27311#pullrequestreview-3238321532


More information about the hotspot-compiler-dev mailing list