Java and the Machine
summary
Compares a 1971 Intel 4004 (2,300 transistors, ~100–740 kHz) to a modern Core i7 (774 million transistors, 3.3 GHz) to show hardware complexity driving software pain; demonstrates CAS/Unsafe and volatile vs synchronized tradeoffs with raw microbenchmarks that collapse throughput when locks are added; cites 30–40% improvement from measuring memory bandwidth, reports pathological deployments like 40,000 threads on a 64‑way box, praises lock‑free Disruptor achieving tens of millions/sec, and warns about virtualization, GC and NUMA effects.
AI-written summary · about
chapters (14)
- 0:00Welcome and introduction
- 1:12Hardware evolution and complexity
- 6:14Basic laws and performance limits
- 17:05Understanding hardware and resources
- 20:18Threads and concurrency challenges
- 25:49CPU caches and memory hierarchy
- 30:01Concurrency control in Java
- 37:49Lock-free algorithms and Disruptor
- 39:35Virtualization pitfalls and costs
- 47:12Java memory model and JVM limitations
- 51:04Garbage collection and scalability
- 53:08GPU computing and future cores
- 54:31Modernizing Java and JVM
- 55:34Conclusion and call to action
