RFR: 8282701: Use Class.getInterfaces(false) where possible to reduce allocation pressure [v2]

Сергей Цыпанов duke at openjdk.java.net
Wed May 4 09:46:00 UTC 2022


> `Class.getInterfaces(false)` does not clone underlying array and can be used in cases when the returned array is only read from.

Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:

  8282701: Revert some irrelevant changes

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7714/files
  - new: https://git.openjdk.java.net/jdk/pull/7714/files/f13239c3..b79f1ddb

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7714&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7714&range=00-01

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7714.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7714/head:pull/7714

PR: https://git.openjdk.java.net/jdk/pull/7714


More information about the core-libs-dev mailing list