RFR: 8299199: Avoid redundant split calls in FontConfiguration.initReorderMap implementations
Andrey Turbanov
aturbanov at openjdk.org
Wed Dec 21 11:11:36 UTC 2022
`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.
-------------
Commit messages:
- [PATCH] Avoid redundant split calls in FontConfiguration implementations
Changes: https://git.openjdk.org/jdk/pull/11754/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11754&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8299199
Stats: 9 lines in 3 files changed: 0 ins; 7 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/11754.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11754/head:pull/11754
PR: https://git.openjdk.org/jdk/pull/11754
More information about the client-libs-dev
mailing list