| JDK 21 |
|---|
| 21 b18Fixed |
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
This showed up with some panama benchmarks:
The following code snippet is not vectorized:
public static void testByteLong1(byte[] dest, long[] src) {
for (int i = 0; i < src.length; i++) {
long j = Objects.checkIndex(i * 8, (long)(src.length * 8));
UNSAFE.putLongUnaligned(dest, baseOffset + j, src[i]);
}
}
|