Skip to content

Do not synchronize on access to AEADCryptBucket.readOnly#1065

Merged
ArneBab merged 1 commit into
hyphanet:nextfrom
bertm:unsynchronize-aead-crypt-bucket
Jun 22, 2025
Merged

Do not synchronize on access to AEADCryptBucket.readOnly#1065
ArneBab merged 1 commit into
hyphanet:nextfrom
bertm:unsynchronize-aead-crypt-bucket

Conversation

@bertm

@bertm bertm commented May 12, 2025

Copy link
Copy Markdown
Contributor

There is no need for synchronized here if we just make the field volatile. This change is unlikely to lead to actual performance gain in practical use cases, but at least it is a bit more concise.

There is no need for synchronized here if we just make the field
volatile. This change is unlikely to lead to actual performance gain
in practical use cases, but at least it is a bit more concise.
@ArneBab ArneBab merged commit ab529e7 into hyphanet:next Jun 22, 2025
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.

3 participants