RFR: 8299982: (bf) Buffer.checkIndex(int, int) should use Objects.checkIndex(int, int) [v3]

Brian Burkhalter bpb at openjdk.org
Wed Jan 25 20:53:02 UTC 2023


> Replace explicit check of indexes in `Buffer::checkIndex(int,int)` with a call to `Objects::checkIndex(int,int)` in order to improve the throughput of other methods which invoke `Buffer::checkIndex(int,int)`.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8299982: Add ForceInline annotation

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12174/files
  - new: https://git.openjdk.org/jdk/pull/12174/files/24d21cd2..4729bd9f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12174&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12174&range=01-02

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/12174.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12174/head:pull/12174

PR: https://git.openjdk.org/jdk/pull/12174


More information about the nio-dev mailing list