RFR: 8249945: Improve ARRAY_SIZE()

Kim Barrett kim.barrett at oracle.com
Thu Jul 23 07:31:34 UTC 2020


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



More information about the hotspot-dev mailing list