package com.google.android.gms.internal.vision; import java.lang.ref.Reference; import java.lang.ref.ReferenceQueue; import java.util.List; import java.util.concurrent.ConcurrentHashMap; /* loaded from: classes2.dex */ final class zzcv { private final ConcurrentHashMap> zzlt = new ConcurrentHashMap<>(16, 0.75f, 10); private final ReferenceQueue zzlu = new ReferenceQueue<>(); public final List zza(Throwable th, boolean z) { Reference poll = this.zzlu.poll(); while (poll != null) { this.zzlt.remove(poll); poll = this.zzlu.poll(); } return this.zzlt.get(new zzcw(th, null)); } }