[vector] Fix jmh comparison tests that can not reflect real performance
Qi Feng
Qi.Feng at arm.com
Fri Jan 3 04:27:51 UTC 2020
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