Implicit null check
The JIT trick of dropping the explicit if (p == null) test and letting the processor itself trap the access when the pointer is zero.
Java requires every field access through a null reference to throw NullPointerException. Testing before every load costs a compare and a branch, times billions. Since the operating system leaves the lowest page of memory unmapped anyway, HotSpot just performs the load. If the pointer is null the result is a segmentation fault; the signal handler looks up the faulting address in a table and jumps to code that throws the exception. Kawahito, Komatsu and Nakatani at IBM described the technique in 2000.
It only pays off when null is rare, since a signal costs thousands of times more than a branch. HotSpot therefore counts the traps and recompiles the method with an explicit test if there are too many. LLVM has its own pass for the same job, written for JVMs built on top of LLVM.