-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Investigate Lock vs Synchronized performance #8366
Comments
2013 paper showing locks win for single threaded https://fileadmin.cs.lth.se/cs/education/EDA015F/2013/Ch13-presentation.pdf |
A bunch of github issues for updating projects like pgjdbc/pgjdbc#1951 With a link to 2023 article https://www.mo4tech.com/comparison-of-synchronized-and-reentrantlock-performance-in-java.html Comparison of Synchronized and ReentrantLock performance in Java
|
cc @swankjesse I think the only real way is to benchmark your app, with a known workload, before and after on a specific JVM and architecture. I don't think it's a one is faster than the other deal. |
No description provided.
The text was updated successfully, but these errors were encountered: