RFR: 8343500: Optimize ArrayClassDescImpl computeDescriptor

Chen Liang liach at openjdk.org
Mon Nov 4 05:19:26 UTC 2024


On Sat, 2 Nov 2024 22:50:29 GMT, Shaojin Wen <swen at openjdk.org> wrote:

> A small improvement to ArrayClassDescImpl#computeDescriptor that avoids intermediate object allocation in the common rank 1 scenario.

Nice simplification.  constant tests pass.

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

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21860#pullrequestreview-2412162817


More information about the core-libs-dev mailing list