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

Naoto Sato naoto at openjdk.org
Thu Jun 5 18:57:50 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.

Looks good and clean. Thanks for the refactoring, Per!

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

Marked as reviewed by naoto (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25630#pullrequestreview-2901743240


More information about the i18n-dev mailing list