Skip to content

Improve locking on JavacCompiler #315

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

gnodet
Copy link
Member

@gnodet gnodet commented Oct 28, 2023

  • the code synchonizes on the CopyOnWriteArrayList which is a concurrent collection
  • the double check locking pattern is badly written and does not actually double checks

- the code synchonizes on the CopyOnWriteArrayList which is a concurrent collection
- the double check locking pattern is badly written and does not actually double checks
@gnodet gnodet force-pushed the improve-locking-javac branch from 5204b48 to 3dc1ca7 Compare October 28, 2023 09:35
@olamy olamy merged commit b941e70 into codehaus-plexus:master Nov 22, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants