[vector] benchmark build failure

Sandler zhuoren.wz at alibaba-inc.com
Fri Nov 8 03:27:53 UTC 2019


Hi, benchmark under test/jdk/jdk/incubator/vector/benchmark cannot compile now. 
I got these errors such as:
[ERROR] /ssd1/home/zhuoren.wz/workspace/panamatoci/dev/test/jdk/jdk/incubator/vector/benchmark/src/main/java/benchmark/jdk/incubator/vector/LongMaxVector.java:[1370,17] method slice(org.openjdk.jmh.infra.Blackhole) is already defined in class benchmark.jdk.incubator.vector.LongMaxVector

It is because slice(and unslice) test methods share the same name and signature.
I got a patch to fix this, the methods with the same name were renamed to sliceUnary and sliceBinary(same to unslice). Please review.
http://cr.openjdk.java.net/~wzhuo/benchmarkfix1108/webrev.00/


Regards,
Zhuoren 



More information about the panama-dev mailing list