ThreadLocal<String> o1 = new ThreadLocal<>();
o1.set("YY");
o1 = null;
Thread th = Thread.currentThread();
System.out.println(th);
ThreadLocal<String> o1 = new ThreadLocal<>();
o1.set("YY");
o1.remove();
o1 = null;
Thread th = Thread.currentThread();
System.out.println(th);