-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLDR-15913 Make LogicalGrouping thread-safe. (#2424)
LogicalGrouping.getPaths might be called from different threads created in GenerateProductionData. Wrapping the existing cache into Multimaps.synchronizedMultimap is not enough as underlying ArrayList is also should be synchronized: it is traversed in new TreeSet<>(cache.get()) and modified in cache.putAll() calls. srl295: Also synchronized localeToSubdivisionsToMigrate Co-authored-by: Steven R. Loomis <[email protected]> Co-authored-by: Steven R. Loomis <[email protected]>
- Loading branch information
Showing
2 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters