Searched refs:threadLocal (Results 1 – 3 of 3) sorted by relevance
28 final ThreadLocal<Object> threadLocal in test_Ljava_lang_InheritableThreadLocal() local36 threadLocal.set(value); in test_Ljava_lang_InheritableThreadLocal()40 holder[0] = threadLocal.get(); in test_Ljava_lang_InheritableThreadLocal()45 assertSame(value, threadLocal.get()); in test_Ljava_lang_InheritableThreadLocal()49 threadLocal.remove(); in test_Ljava_lang_InheritableThreadLocal()
31 TestInheritableThreadLocal<Object> threadLocal = new TestInheritableThreadLocal<>(); in childValue_shouldReturnInputArgument() local33 assertNull(threadLocal.childValue(null)); in childValue_shouldReturnInputArgument()35 assertEquals(parentValue, threadLocal.childValue(parentValue)); in childValue_shouldReturnInputArgument()
40 private static ThreadLocal<NativeBuffer[]> threadLocal = field in NativeBuffers58 NativeBuffer[] buffers = threadLocal.get(); in getNativeBufferFromCache()92 NativeBuffer[] buffers = threadLocal.get(); in releaseNativeBuffer()96 threadLocal.set(buffers); in releaseNativeBuffer()