Skip to content

bugix/ protect internal data in multi thread env.#1133

Merged
slawekjaranowski merged 1 commit into
mojohaus:masterfrom
netceler:bugfix/1018_thread_safe
Sep 14, 2024
Merged

bugix/ protect internal data in multi thread env.#1133
slawekjaranowski merged 1 commit into
mojohaus:masterfrom
netceler:bugfix/1018_thread_safe

Conversation

@jgraglia

Copy link
Copy Markdown
Contributor

Map is not thread safe but some mojo are marked thread safe.

This PR use a safe structure.

PS: null check added because ConcurrentHashMap does not accept null value (diff with HashMap)

Some mojo are declared thread safe.
@jgraglia

Copy link
Copy Markdown
Contributor Author

This PR is expected to fix #1018 (comment)

@slawekjaranowski slawekjaranowski added this to the next-release milestone Aug 29, 2024
@slawekjaranowski slawekjaranowski self-assigned this Sep 14, 2024
@slawekjaranowski slawekjaranowski merged commit 4222b66 into mojohaus:master Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants