Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8248277 | 16 | Chris Hegarty | P3 | Resolved | Fixed | b04 |
JDK-8250089 | 15.0.2 | Chris Hegarty | P3 | Resolved | Fixed | b01 |
JDK-8250388 | 15.0.1 | Chris Hegarty | P3 | Resolved | Fixed | b03 |
The MemorySegment::mismatch implementation added vectorized mismatch of long sizes. The implementation is trivial, but the starting point for a more optimized implementation, if needed. ArraysSupport::vectorizedMismatchLarge incorrectly returns the bitwise complement of the offset of the first mismatch, where it should return the bitwise complement of the number of remaining pairs of elements to be checked in the tail of the two arrays. The AbstractMemorySegmentImpl::mismatch masked this problem, since it seamlessly compared the remaining tail, which is larger than it should be.
- backported by
-
JDK-8248277 Incorrect tail computation for large segments in AbstractMemorySegmentImpl::mismatch
-
- Resolved
-
-
JDK-8250089 Incorrect tail computation for large segments in AbstractMemorySegmentImpl::mismatch
-
- Resolved
-
-
JDK-8250388 Incorrect tail computation for large segments in AbstractMemorySegmentImpl::mismatch
-
- Resolved
-
- relates to
-
JDK-8246096 Tweaks to memory access API
-
- Closed
-