RFR: 8340120: Remove redundant code in SegmentBulkOperations::mismatch

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Sep 13 15:20:05 UTC 2024


On Fri, 13 Sep 2024 13:59:54 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This title has been changed as this code segment was never invoked. So, we could not add a test that touches the code. Also, this will not fix any out-of-bounds addressing but will only reduce the code surface.

To be clear for future readers: the above comment is not true - the optimized versions of fill/copy/mismatch do *not* attempt to access segments outside of their spatial bounds.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20998#issuecomment-2349201363


More information about the core-libs-dev mailing list