On Tue, 3 Jun 2025 20:14:31 GMT, Per Minborg <pminb...@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 <pminb...@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