Skip to content

[Java] fix LocaleSerializer cache thread safety#132

Merged
chaokunyang merged 1 commit intomainfrom
make_locale_cache_thread_safe
May 8, 2023
Merged

[Java] fix LocaleSerializer cache thread safety#132
chaokunyang merged 1 commit intomainfrom
make_locale_cache_thread_safe

Conversation

@chaokunyang
Copy link
Copy Markdown
Collaborator

What do these changes do?

This PR fix LocaleSerializer cache thread safety by creating an immutable hash map

Related issue number

Closes #131

Check code requirements

  • tests added / passed (if needed)
  • Ensure all linting tests pass, see here for how to run them

@chaokunyang chaokunyang merged commit 5a3b9cc into main May 8, 2023
@chaokunyang chaokunyang deleted the make_locale_cache_thread_safe branch May 8, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Java] fix locale serialzier cache thread safety

1 participant