Searched refs:doubleCheckReference (Results 1 – 1 of 1) sorted by relevance
123 final AtomicReference<Provider<Object>> doubleCheckReference = in reentranceWithoutCondition_throwsStackOverflow() local125 Provider<Object> doubleCheck = DoubleCheck.provider(() -> doubleCheckReference.get().get()); in reentranceWithoutCondition_throwsStackOverflow()126 doubleCheckReference.set(doubleCheck); in reentranceWithoutCondition_throwsStackOverflow()134 final AtomicReference<Provider<Object>> doubleCheckReference = in reentranceReturningSameInstance() local140 doubleCheckReference.get().get(); in reentranceReturningSameInstance()144 doubleCheckReference.set(doubleCheck); in reentranceReturningSameInstance()149 final AtomicReference<Provider<Object>> doubleCheckReference = in reentranceReturningDifferentInstances_throwsIllegalStateException() local154 doubleCheckReference.get().get(); in reentranceReturningDifferentInstances_throwsIllegalStateException()158 doubleCheckReference.set(doubleCheck); in reentranceReturningDifferentInstances_throwsIllegalStateException()