mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8350682: [JMH] vector.IndexInRangeBenchmark failed with IndexOutOfBoundsException for size=1024
Backport-of: 959e0265cfd829a1f857835e1ee95c75b6f6c9cb
This commit is contained in:
committed by
Vitaly Provodin
parent
29cd61c348
commit
9769f0ed0c
@@ -48,7 +48,7 @@ public class IndexInRangeBenchmark {
|
||||
|
||||
@Setup(Level.Trial)
|
||||
public void Setup() {
|
||||
mask = new boolean[512];
|
||||
mask = new boolean[size + 64];
|
||||
}
|
||||
|
||||
@Benchmark
|
||||
|
||||
Reference in New Issue
Block a user