Jan
30
How does the default hashCode() work? (and why does it affect biased locking?)
In which scratching the surface of hashCode() leads to a speleology trip through the JVM source reaching object layout, biased locking, and surprising performance implications of relying on the default hashCode().
11 min read