News for hackers. Stuff that matters.
Re:JVM Anatomy Quarks by MrBuddyCasino on Friday January 31, 2020 @04:12PM (#22205792)
I was interested in this as well, and yes ReadWriteLocks are horrible[0]. Just using synchronized is a good default that performs well in most scenarios, StampedLocks are good too.

[0] https://blog.overops.com/java-8-stampedlocks-vs-readwriteloc...

Re:JVM Anatomy Quarks by xxs on Friday January 31, 2020 @06:51PM (#22207222)
About the blog - testing with more threads than cores could be quite misleading, also testing on dual/quad socket vs single one exhibits the effects on coherency traffic a lot more (compared to L3 talk)