<i18n dev> Integrated: 8358520: Improve lazy computation in BreakIteratorResourceBundle and related classes

Per Minborg pminborg at openjdk.org
Mon Jun 9 07:03:55 UTC 2025


On Tue, 3 Jun 2025 20:14:31 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to simplify lazy computation related to resource bundles. Previously, some objects were computed lazily using a double-checked locking algorithm. StableValues offers a more robust and succinct solution. 
>  
>  
> This PR passes tier1, tier2, and tier3 on multiple platforms.

This pull request has now been integrated.

Changeset: 52338c94
Author:    Per Minborg <pminborg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/52338c94f610611a9e89a6ccbe6f2c6cd768b50a
Stats:     138 lines in 3 files changed: 51 ins; 73 del; 14 mod

8358520: Improve lazy computation in BreakIteratorResourceBundle and related classes

Reviewed-by: naoto, jlu

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

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


More information about the i18n-dev mailing list