Integrated: 8299199: Avoid redundant split calls in FontConfiguration.initReorderMap implementations

Andrey Turbanov aturbanov at openjdk.org
Thu Dec 22 19:12:53 UTC 2022


On Wed, 21 Dec 2022 11:03:08 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> `FontConfiguration.split` uses legacy synchronized `Vector` class. But actually there is no need to use it, because input arguments are known at compile time. Instead of split usages we can just create String[] array with filled values directly.

This pull request has now been integrated.

Changeset: b378381a
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b378381a9c5abf555c4ccf87d387d2cd77196e04
Stats:     9 lines in 3 files changed: 0 ins; 7 del; 2 mod

8299199: Avoid redundant split calls in FontConfiguration.initReorderMap implementations

Reviewed-by: aivanov

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

PR: https://git.openjdk.org/jdk/pull/11754



More information about the client-libs-dev mailing list