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

Claes Redestad redestad at openjdk.java.net
Tue May 10 09:02:59 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

Marked as reviewed by redestad (Reviewer).

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

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


More information about the core-libs-dev mailing list