Details
-
Bug
-
Resolution: Fixed
-
P2
-
None
-
b131
-
Verified
Description
The offset calculation is incorrect. Care also needs to be take to work correctly for heap and direct buffers, specifically for the ByteBufferAs* implementations that leverage an absolute offset to the byte array or address respectively.
Attachments
Issue Links
- relates to
-
JDK-8151163 All Buffer implementations should leverage Unsafe unaligned accessors
- Resolved
-
JDK-8159257 unsafe.cpp: assert(byte_offset < p_size) failed: Unsafe access: offset 32767 > object's size 16
- Closed