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

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


On Wed, 4 May 2022 09:46:00 GMT, Сергей Цыпанов <duke at openjdk.java.net> wrote:

>> `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

I've reverted changes to `getInterface(boolean)`

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

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


More information about the core-libs-dev mailing list