RFR (S): Connection matrix should be char*, not bool*

Roman Kennke rkennke at redhat.com
Thu Mar 9 19:01:44 UTC 2017


Am 09.03.2017 um 19:58 schrieb Aleksey Shipilev:
> Hi,
>
> C++ Standard guarantees sizeof(char) = 1. It does not guarantee the same for
> sizeof(bool). Therefore, having char* matrix is safer. Here:
>   http://cr.openjdk.java.net/~shade/shenandoah/matrix-byte/webrev.01/
>
> Testing: hotspot_gc_shenandoah, jcstress -m quick with matrix verification
>
> Thanks,
> -Aleksey
>
Yup!




More information about the shenandoah-dev mailing list