static void listThreadLocalAdd(ThreadLocal> tl, A a) { L l = tl.get(); if (l == null) tl.set(l = new L); l.add(a); }