r/programming • u/alexeyr • Apr 13 '20
Java Objects Inside Out: Everything You Ever Wanted to Know About Java Object Internals in Hotspot
https://shipilev.net/jvm/objects-inside-out/
37
Upvotes
r/programming • u/alexeyr • Apr 13 '20
1
u/Molossus-Spondee Apr 13 '20
I'm confused about the hashcode disables biased locking thing.
Does this mean if I make a utility object
as I tend to do instead of using an empty object for lock objects should I override hashcode?