Integrated: 8282701: Use Class.getInterfaces(false) where possible to reduce allocation pressure
Сергей Цыпанов
duke at openjdk.java.net
Tue May 10 17:22:49 UTC 2022
On Sat, 5 Mar 2022 13:07:56 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.
This pull request has now been integrated.
Changeset: 9073a98d
Author: Sergey Tsypanov <sergei.tsypanov at yandex.ru>
Committer: Mandy Chung <mchung at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/9073a98d5791dedc5ed4156ec5229164ed1eef50
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8282701: Use Class.getInterfaces(false) where possible to reduce allocation pressure
Reviewed-by: redestad, mchung
-------------
PR: https://git.openjdk.java.net/jdk/pull/7714
More information about the core-libs-dev
mailing list