On Sat, 5 Mar 2022 13:07:56 GMT, Сергей Цыпанов <d...@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.

This pull request has now been integrated.

Changeset: 9073a98d
Author:    Sergey Tsypanov <sergei.tsypa...@yandex.ru>
Committer: Mandy Chung <mch...@openjdk.org>
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8282701: Use Class.getInterfaces(false) where possible to reduce allocation 

Reviewed-by: redestad, mchung


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

Reply via email to