RFR: 8350682: [JMH] vector.IndexInRangeBenchmark failed with IndexOutOfBoundsException for size=1024
Sandhya Viswanathan
sviswanathan at openjdk.org
Sat Mar 1 00:42:53 UTC 2025
On Tue, 25 Feb 2025 19:06:05 GMT, Vladimir Ivanov <vaivanov at openjdk.org> wrote:
> Array initialization by parameter was added. Extra constant was used to align cycle step with used arrays.
test/micro/org/openjdk/bench/jdk/incubator/vector/IndexInRangeBenchmark.java line 51:
> 49: @Setup(Level.Trial)
> 50: public void Setup() {
> 51: mask = new boolean[size + 64];
Any reason, for this to be "size + 64" instead of "size"?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23783#discussion_r1976173627
More information about the core-libs-dev
mailing list