-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b64
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082639 | emb-9 | Andrew Haley | P4 | Resolved | Fixed | team |
static void putIntB(ByteBuffer bb, int bi, int x) {
bb._put(bi , int3(x));
bb._put(bi + 1, int2(x));
bb._put(bi + 2, int1(x));
bb._put(bi + 3, int0(x));
}
The compiler is known to produce distinct writes in these cases. It is beneficial to replace byte-wide stores into the full-width stores. The caveats include: misaligned reads/writes, handling endianness, etc.
- backported by
-
JDK-8082639 (bf) Intrinsify ByteBuffer.put{Int,Double,Float,...} methods
- Resolved
- duplicates
-
JDK-8016539 Optimization / long/int/short/double/float serialization
- Closed
-
JDK-4855830 (bf) Little-endian buffers could be faster (x86)
- Closed
-
JDK-5095459 (bf) Improve performance of ByteBuffer.putLong()
- Closed
- is blocked by
-
JDK-6914113 Copy int to byte[] in 1 step
- Open
- relates to
-
JDK-8076523 assert(((ABS(iv_adjustment_in_bytes) % elt_size) == 0)) fails in superword.cpp
- Resolved
-
JDK-8078504 Zero fails to build
- Resolved
-
JDK-8186090 java.nio.Bits.unaligned() doesn't handle aarch64
- Resolved
-
JDK-8079860 (bf) ByteBuffer getFloat throw BufferOverflowException while BufferUnderflowException is expected
- Closed
-
JDK-8073093 AARCH64: C2 generates poor code for ByteBuffer accesses
- Closed
-
JDK-8165231 java.nio.Bits.unaligned() doesn't return true on ppc
- Resolved
-
JDK-8079459 JCK test api/java_nio/ByteBuffer/index.html#GetPutXXX start failing after JDK-8026049
- Closed
-
JDK-8158786 ZIP libraries could benefit from new intrinsic accessors to byte arrays
- Open
-
JDK-8033148 Lexicographic comparators and mismatchers for arrays
- Closed
-
JDK-8073093 AARCH64: C2 generates poor code for ByteBuffer accesses
- Closed