Searched refs:itl (Results 1 – 4 of 4) sorted by relevance
31 static InheritableThreadLocal<Integer> itl = field in ThreadLocalTest58 assertSame(itl.get(), zero); in testRemoveITL()59 itl.set(two); in testRemoveITL()60 assertSame(itl.get(), two); in testRemoveITL()61 itl.remove(); in testRemoveITL()62 assertSame(itl.get(), zero); in testRemoveITL()70 if (itl.get().intValue() < x.length - 1) { in run()76 int threadId = itl.get().intValue(); in run()
55 static InheritableThreadLocal<Integer> itl = field in ThreadLocalTest82 assertSame(itl.get(), zero); in testRemoveITL()83 itl.set(two); in testRemoveITL()84 assertSame(itl.get(), two); in testRemoveITL()85 itl.remove(); in testRemoveITL()86 assertSame(itl.get(), zero); in testRemoveITL()94 if (itl.get().intValue() < x.length - 1) { in run()100 int threadId = itl.get().intValue(); in run()
28 InheritableThreadLocal<String> itl = new InheritableThreadLocal<String>(); in test_Constructor() local29 assertNull(itl.get()); in test_Constructor()33 InheritableThreadLocal<String> itl = new InheritableThreadLocal<String>() { in test_initialValue() local39 assertEquals("initial", itl.get()); in test_initialValue()
53 InheritableThreadLocal<String> itl = new InheritableThreadLocal<String>() { in test_childValue() local63 assertEquals("initial", itl.get()); in test_childValue()