RFR: 8249945: Improve ARRAY_SIZE()

David Holmes david.holmes at oracle.com
Fri Jul 24 04:35:52 UTC 2020


This looks good to me too (once Kim explained to me how to parse the 
template declaration :) ).

Thanks,
David

On 23/07/2020 5:31 pm, 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
> 


More information about the hotspot-dev mailing list