[vector] Fix jmh comparison tests that can not reflect real performance
Paul Sandoz
paul.sandoz at oracle.com
Fri Jan 3 17:34:26 UTC 2020
+1
Paul.
> On Jan 2, 2020, at 8:27 PM, Qi Feng <Qi.Feng at arm.com> wrote:
>
> Hi all,
>
> Please help me review this patch:
>
> http://cr.openjdk.java.net/~yzhang/vectorapi/vectorapi.jmh.and/webrev.00/
>
> The initial value of accumulator is false. Using 'and' onto a false value makes the whole loop being optimized away. Changing the initial value to true can resolve this problem.
>
> Also, the year in copyright notice is updated.
>
> Thanks,
> Qi
>
More information about the panama-dev
mailing list