The new reflection - VarHandle fundamentals
An introduction to VarHandle covering motivation, acquisition, and basic access modes.
2026, May 11 — 7 minute(s) readThe new reflection - Advanced method handles
Advanced method handle composition, control flow combinators, ConstantBootstraps, and performance.
2026, May 07 — 8 minute(s) readThe new reflection - Intermediate use cases
Intermediate method handle usage covering lookup factories, handle adaptations, and API design.
2026, Apr 14 — 8 minute(s) readThe new reflection - Basics
An introduction to using the advanced capabilities of member access since Java 9.
2024, Nov 08 — 13 minute(s) readA lightweight readers/writer lock
A simple way to implement a lock which supports multiple readers.
2017, Oct 30 — 5 minute(s) readSafely downgrading a write lock with ReadWriteLock
A simple pattern to safely downgrade a write lock to a read lock safely.
2010, Feb 23 — 1 minute(s) readProper resource management
A historical (i.e. outdated) perspective on properly dealing with closed resources.
2008, Jul 28 — 6 minute(s) readAIO versus network servers
Some fundamental conflicts relating to asynchronous I/O compared to traditional sockets.
2008, May 22 — 3 minute(s) read