-
Bug
-
Resolution: Unresolved
-
P3
-
11, 13, 14
public static void multArray(float[] a, float[] b, float[] m, int len) {
for(int i = 0; i < len; i++) {
m[i*3 ] = a[i*3]*b[i*3];
m[i*3+1] = a[i*3+1]*b[i*3+1];
m[i*3+2] = a[i*3+2]*b[i*3+2];
}
}
# VM version: JDK 1.8.0_212, OpenJDK 64-Bit Server VM, 25.212-b04
Benchmark Mode Cnt Score Error Units
TestArrayPerf.testArray thrpt 20 80.675 ± 0.299 ops/s
# VM version: JDK 14-internal, Java HotSpot(TM) 64-Bit Server VM, 14-internal+0-2019-06-13-0958212.vlivanov.null
Benchmark Mode Cnt Score Error Units
TestArrayPerf.testArray thrpt 20 63.299 ± 0.126 ops/s
for(int i = 0; i < len; i++) {
m[i*3 ] = a[i*3]*b[i*3];
m[i*3+1] = a[i*3+1]*b[i*3+1];
m[i*3+2] = a[i*3+2]*b[i*3+2];
}
}
# VM version: JDK 1.8.0_212, OpenJDK 64-Bit Server VM, 25.212-b04
Benchmark Mode Cnt Score Error Units
TestArrayPerf.testArray thrpt 20 80.675 ± 0.299 ops/s
# VM version: JDK 14-internal, Java HotSpot(TM) 64-Bit Server VM, 14-internal+0-2019-06-13-0958212.vlivanov.null
Benchmark Mode Cnt Score Error Units
TestArrayPerf.testArray thrpt 20 63.299 ± 0.126 ops/s
- duplicates
-
JDK-8224182 [Performance] sun.misc.Unsafe.[put|get]* suffer from redundant memory barriers
- Closed
- relates to
-
JDK-8224182 [Performance] sun.misc.Unsafe.[put|get]* suffer from redundant memory barriers
- Closed