RFR: 8357531: The `SegmentBulkOperations::fill` method can be improved using overlaps [v5]

Per Minborg pminborg at openjdk.org
Mon May 26 15:08:52 UTC 2025


On Fri, 23 May 2025 19:52:50 GMT, Chen Liang <liach at openjdk.org> wrote:

> Can we remove all meaningless `!Architecture.isLittleEndian()` calls and use the platform-specific endianness unsafe primitives instead? For compensation, we can add a check in each of fill2/fill3/fill4 that `assert value == Integer/Short/Long.reverseBytes(value)` if you think that is necessary.

Let's take a look at that under a separate PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/25383#issuecomment-2910041204


More information about the core-libs-dev mailing list