The fastest way to minimize garbage collection pauses isn't flagging exotic GC switches—it is allocating dramatically fewer unnecessary objects in the first place while structuring arrays and concurrent counters cleanly around 64-byte CPU cache lines.
More lessons in Complete Core Java