RFR: 8248403: AArch64: Remove uses of kernel integer types

Kim Barrett kim.barrett at oracle.com
Wed Jul 8 17:32:40 UTC 2020


> On Jun 26, 2020, at 11:40 AM, Andrew Haley <aph at redhat.com> wrote:
> 
> In several places the AArch64 back end uses integer types from the kernel such as u_int32_t rather than the standard C type uint64_t. These should be removed.
> 
> http://cr.openjdk.java.net/~aph/8248403/
> 
> -- 
> Andrew Haley  (he/him)
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com>
> https://keybase.io/andrewhaley
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

Looks good.

src/hotspot/cpu/aarch64/immediate_aarch64.cpp
 147   int len;                  // ought to be <= 6
 148   uint32_t levels;         // 6 bits

Changing the type of levels and followers moved the aligned comments
to the left, leaving len's comment unaligned with the rest.



More information about the hotspot-dev mailing list