Concurrency vs. Parallelism: Decoding the Simultaneous Illusion
The difference between concurrency and parallelism, illustrated with practical JVM-based examples commonly asked about in technical interviews.
3 posts. All tags
The difference between concurrency and parallelism, illustrated with practical JVM-based examples commonly asked about in technical interviews.
How Java's HashMap works internally: the equals/hashCode contract, bucket distribution, and the binary tree optimization introduced in Java 8.
A cautionary demonstration of how using mutable objects as HashMap keys silently corrupts lookups, and the simple rule that prevents it.