Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[BUG] unnecessary lock statements #564

Open
zivillian opened this issue Sep 10, 2024 · 0 comments
Open

[BUG] unnecessary lock statements #564

zivillian opened this issue Sep 10, 2024 · 0 comments
Labels

Comments

@zivillian
Copy link

Describe the Bug

I'm tracing my application for increased CPU usage after switching from openssl to bc-csharp and my profiler shows a lot of time is spent in AbstractTlsContext.get_SecurityParameters()

I'm not yet sure if this is the reason for the increased CPU usage in my application, but as far as I can tell the lock statement in all those properties will not do anything useful and may decrease the performance.

I'm happy to create a PR which removes the locks in this class, but I wanted to make sure, that I haven't missed anything.

Screenshots and Logs

grafik

Product Deployment

Please complete the following information:

  • Deployment format: docker on arm
  • Version 2.4.0
@zivillian zivillian added the bug label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant