RFR: 8249945: Improve ARRAY_SIZE()
Thomas Schatzl
thomas.schatzl at oracle.com
Thu Jul 23 08:42:47 UTC 2020
Hi,
On 23.07.20 09:31, Kim Barrett wrote:
> Please review this reimplementation of the ARRAY_SIZE() macro. The
> new implementation rejects pointer types instead of quietly returning
> the wrong value; see the CR for more details.
>
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8249945
>
> Webrev:
> https://cr.openjdk.java.net/~kbarrett/8249945/open.00/
>
> Testing:
> mach5 tier1
>
lgtm.
Fwiw, in JIRA, for regular bugs/enhancements, markdown is disabled in
the descriptions afaik, so the tags you added there are kind of out of
place. They only work in JEPs.
Thanks,
Thomas
More information about the hotspot-dev
mailing list