public class org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl extends java.lang.Object implements org.glassfish.hk.utilities.cache.WeakCARCache
{
private final org.glassfish.hk.utilities.cache.Computable computable;
private final int maxSize;
private final org.glassfish.hk.utilities.general.WeakHashClock t;
private final org.glassfish.hk.utilities.general.WeakHashClock t;
private final org.glassfish.hk.utilities.general.WeakHashLRU b;
private final org.glassfish.hk.utilities.general.WeakHashLRU b;
private int p;
private final java.util.concurrent.atomic.AtomicLong hits;
private final java.util.concurrent.atomic.AtomicLong tries;
public void <init>(org.glassfish.hk.utilities.cache.Computable, int, boolean)
{
org.glassfish.hk.utilities.general.WeakHashLRU v, v;
org.glassfish.hk.utilities.general.WeakHashClock v, v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
java.util.concurrent.atomic.AtomicLong v, v;
int v;
org.glassfish.hk.utilities.cache.Computable v;
boolean v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v := @parameter: org.glassfish.hk.utilities.cache.Computable;
v := @parameter: int;
v := @parameter: boolean;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p> = 0;
v = new java.util.concurrent.atomic.AtomicLong;
specialinvoke v.<java.util.concurrent.atomic.AtomicLong: void <init>(long)>(0L);
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.util.concurrent.atomic.AtomicLong hits> = v;
v = new java.util.concurrent.atomic.AtomicLong;
specialinvoke v.<java.util.concurrent.atomic.AtomicLong: void <init>(long)>(0L);
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.util.concurrent.atomic.AtomicLong tries> = v;
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.cache.Computable computable> = v;
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int maxSize> = v;
v = staticinvoke <org.glassfish.hk.utilities.general.GeneralUtilities: org.glassfish.hk.utilities.general.WeakHashClock getWeakHashClock(boolean)>(v);
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1> = v;
v = staticinvoke <org.glassfish.hk.utilities.general.GeneralUtilities: org.glassfish.hk.utilities.general.WeakHashClock getWeakHashClock(boolean)>(v);
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2> = v;
v = staticinvoke <org.glassfish.hk.utilities.general.GeneralUtilities: org.glassfish.hk.utilities.general.WeakHashLRU getWeakHashLRU(boolean)>(v);
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1> = v;
v = staticinvoke <org.glassfish.hk.utilities.general.GeneralUtilities: org.glassfish.hk.utilities.general.WeakHashLRU getWeakHashLRU(boolean)>(v);
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2> = v;
return;
}
private java.lang.Object getValueFromT(java.lang.Object)
{
org.glassfish.hk.utilities.general.WeakHashClock v, v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
java.lang.Object v, v, v, v, v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v := @parameter: java.lang.Object;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: java.lang.Object get(java.lang.Object)>(v);
if v == null goto label;
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: boolean referenceBit> = 1;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: java.lang.Object value>;
return v;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: java.lang.Object get(java.lang.Object)>(v);
if v == null goto label;
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: boolean referenceBit> = 1;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: java.lang.Object value>;
return v;
label:
return null;
}
public java.lang.Object compute(java.lang.Object)
{
java.lang.Throwable v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
org.glassfish.hk.utilities.cache.ComputationErrorException v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue v, v, v;
org.glassfish.hk.utilities.general.WeakHashClock v, v, v, v, v, v;
java.util.concurrent.atomic.AtomicLong v, v, v;
org.glassfish.hk.utilities.general.WeakHashLRU v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
boolean v, v, v, v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.Object v, v, v, v, v;
org.glassfish.hk.utilities.cache.Computable v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v := @parameter: java.lang.Object;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.util.concurrent.atomic.AtomicLong tries>;
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long getAndIncrement()>();
v = specialinvoke v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.lang.Object getValueFromT(java.lang.Object)>(v);
if v == null goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.util.concurrent.atomic.AtomicLong hits>;
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long getAndIncrement()>();
return v;
label:
entermonitor v;
label:
v = specialinvoke v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.lang.Object getValueFromT(java.lang.Object)>(v);
if v == null goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.util.concurrent.atomic.AtomicLong hits>;
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long getAndIncrement()>();
exitmonitor v;
label:
return v;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.cache.Computable computable>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.cache.Computable: java.lang.Object compute(java.lang.Object)>(v);
label:
goto label;
label:
v := @caughtexception;
v = virtualinvoke v.<org.glassfish.hk.utilities.cache.ComputationErrorException: java.lang.Object getComputation()>();
exitmonitor v;
label:
return v;
label:
v = virtualinvoke v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int getValueSize()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int maxSize>;
if v < v goto label;
specialinvoke v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: void replace()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: boolean contains(java.lang.Object)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: boolean contains(java.lang.Object)>(v);
if v != 0 goto label;
if v != 0 goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
v = v + v;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int maxSize>;
if v < v goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: java.lang.Object remove()>();
goto label;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
v = v + v;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
v = v + v;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
v = v + v;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int maxSize>;
v = 2 * v;
if v < v goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: java.lang.Object remove()>();
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: boolean contains(java.lang.Object)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: boolean contains(java.lang.Object)>(v);
if v != 0 goto label;
if v != 0 goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = new org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue;
specialinvoke v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: void <init>(java.lang.Object)>(v);
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: void put(java.lang.Object,java.lang.Object)>(v, v);
goto label;
label:
if v == 0 goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
if v != 0 goto label;
v = 1;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
v = v / v;
if v > 0 goto label;
v = 1;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p>;
v = v + v;
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p> = v;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p>;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int maxSize>;
if v <= v goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int maxSize>;
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p> = v;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: boolean remove(java.lang.Object)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = new org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue;
specialinvoke v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: void <init>(java.lang.Object)>(v);
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: void put(java.lang.Object,java.lang.Object)>(v, v);
goto label;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
if v != 0 goto label;
v = 1;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
v = v / v;
if v > 0 goto label;
v = 1;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p>;
v = v - v;
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p> = v;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p>;
if v >= 0 goto label;
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p> = 0;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: boolean remove(java.lang.Object)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = new org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue;
specialinvoke v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: void <init>(java.lang.Object)>(v);
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: void put(java.lang.Object,java.lang.Object)>(v, v);
label:
exitmonitor v;
label:
goto label;
label:
v := @caughtexception;
exitmonitor v;
throw v;
label:
return v;
catch org.glassfish.hk.utilities.cache.ComputationErrorException from label to label with label;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
}
private void replace()
{
org.glassfish.hk.utilities.general.WeakHashLRU v, v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
int v, v;
boolean v, v, v;
java.util.Map$Entry v, v;
org.glassfish.hk.utilities.general.WeakHashClock v, v, v, v, v, v, v;
java.lang.Object v, v, v, v, v, v, v, v, v, v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = 0;
label:
if v != 0 goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p>;
if v >= 1 goto label;
v = 1;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
if v < v goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: java.util.Map$Entry next()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: boolean referenceBit>;
if v != 0 goto label;
v = 1;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: java.lang.Object remove(java.lang.Object)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: void add(java.lang.Object)>(v);
goto label;
label:
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: boolean referenceBit> = 0;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: java.lang.Object remove(java.lang.Object)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: void put(java.lang.Object,java.lang.Object)>(v, v);
goto label;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: java.util.Map$Entry next()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: boolean referenceBit>;
if v != 0 goto label;
v = 1;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: java.lang.Object remove(java.lang.Object)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: void add(java.lang.Object)>(v);
goto label;
label:
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl$CarValue: boolean referenceBit> = 0;
goto label;
label:
return;
}
public synchronized int getKeySize()
{
org.glassfish.hk.utilities.general.WeakHashLRU v, v;
org.glassfish.hk.utilities.general.WeakHashClock v, v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
int v, v, v, v, v, v, v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
v = v + v;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
v = v + v;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
v = v + v;
return v;
}
public synchronized int getValueSize()
{
org.glassfish.hk.utilities.general.WeakHashClock v, v;
int v, v, v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
v = v + v;
return v;
}
public synchronized void clear()
{
java.util.concurrent.atomic.AtomicLong v, v;
org.glassfish.hk.utilities.general.WeakHashLRU v, v;
org.glassfish.hk.utilities.general.WeakHashClock v, v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: void clear()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: void clear()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: void clear()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: void clear()>();
v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p> = 0;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.util.concurrent.atomic.AtomicLong tries>;
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: void set(long)>(0L);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.util.concurrent.atomic.AtomicLong hits>;
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: void set(long)>(0L);
return;
}
public int getMaxSize()
{
int v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int maxSize>;
return v;
}
public org.glassfish.hk.utilities.cache.Computable getComputable()
{
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
org.glassfish.hk.utilities.cache.Computable v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.cache.Computable computable>;
return v;
}
public synchronized boolean remove(java.lang.Object)
{
org.glassfish.hk.utilities.general.WeakHashLRU v, v;
org.glassfish.hk.utilities.general.WeakHashClock v, v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
java.lang.Object v, v, v;
boolean v, v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v := @parameter: java.lang.Object;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: java.lang.Object remove(java.lang.Object)>(v);
if v != null goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: java.lang.Object remove(java.lang.Object)>(v);
if v != null goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: boolean remove(java.lang.Object)>(v);
if v != 0 goto label;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: boolean remove(java.lang.Object)>(v);
return v;
label:
return 1;
label:
return 1;
label:
return 1;
}
public synchronized void releaseMatching(org.glassfish.hk.utilities.cache.CacheKeyFilter)
{
org.glassfish.hk.utilities.general.WeakHashLRU v, v;
org.glassfish.hk.utilities.general.WeakHashClock v, v;
org.glassfish.hk.utilities.cache.CacheKeyFilter v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v := @parameter: org.glassfish.hk.utilities.cache.CacheKeyFilter;
if v != null goto label;
return;
label:
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: void releaseMatching(org.glassfish.hk.utilities.cache.CacheKeyFilter)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: void releaseMatching(org.glassfish.hk.utilities.cache.CacheKeyFilter)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: void releaseMatching(org.glassfish.hk.utilities.cache.CacheKeyFilter)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: void releaseMatching(org.glassfish.hk.utilities.cache.CacheKeyFilter)>(v);
return;
}
public synchronized void clearStaleReferences()
{
org.glassfish.hk.utilities.general.WeakHashLRU v, v;
org.glassfish.hk.utilities.general.WeakHashClock v, v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: void clearStaleReferences()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: void clearStaleReferences()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: void clearStaleReferences()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: void clearStaleReferences()>();
return;
}
public int getT1Size()
{
int v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
org.glassfish.hk.utilities.general.WeakHashClock v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
return v;
}
public int getT2Size()
{
int v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
org.glassfish.hk.utilities.general.WeakHashClock v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
return v;
}
public int getB1Size()
{
int v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
org.glassfish.hk.utilities.general.WeakHashLRU v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
return v;
}
public int getB2Size()
{
int v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
org.glassfish.hk.utilities.general.WeakHashLRU v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
return v;
}
public int getP()
{
int v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p>;
return v;
}
public java.lang.String dumpAllLists()
{
org.glassfish.hk.utilities.general.WeakHashLRU v, v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
java.lang.StringBuffer v;
int v;
java.lang.String v, v, v, v, v, v, v, v, v;
org.glassfish.hk.utilities.general.WeakHashClock v, v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = new java.lang.StringBuffer;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p>;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("p=\u0001\nT1: \u0001\n");
specialinvoke v.<java.lang.StringBuffer: void <init>(java.lang.String)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("T2: \u0001\n");
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(java.lang.String)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("B1: \u0001\n");
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(java.lang.String)>(v);
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("B2: \u0001\n");
virtualinvoke v.<java.lang.StringBuffer: java.lang.StringBuffer append(java.lang.String)>(v);
v = virtualinvoke v.<java.lang.StringBuffer: java.lang.String toString()>();
return v;
}
public double getHitRate()
{
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
long v, v;
java.util.concurrent.atomic.AtomicLong v, v;
byte v;
double v, v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.util.concurrent.atomic.AtomicLong hits>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long get()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: java.util.concurrent.atomic.AtomicLong tries>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long get()>();
v = v cmp 0L;
if v != 0 goto label;
v = 1L;
label:
v = v / v;
v = v * 100.0;
return v;
}
public java.lang.String toString()
{
org.glassfish.hk.utilities.general.WeakHashLRU v, v;
org.glassfish.hk.utilities.general.WeakHashClock v, v;
org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl v;
int v, v, v, v, v, v;
java.lang.String v;
double v;
v := @this: org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl;
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashClock t2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashClock: int size()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b1>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: org.glassfish.hk.utilities.general.WeakHashLRU b2>;
v = interfaceinvoke v.<org.glassfish.hk.utilities.general.WeakHashLRU: int size()>();
v = v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: int p>;
v = virtualinvoke v.<org.glassfish.hk.utilities.cache.internal.WeakCARCacheImpl: double getHitRate()>();
v = staticinvoke <java.lang.System: int identityHashCode(java.lang.Object)>(v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int,int,int,int,int,double,int)>(v, v, v, v, v, v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("WeakCARCacheImpl(t1size=\u,t2Size=\u,b1Size=\u,b2Size=\u,p=\u,hitRate=\u0001%,\u)");
return v;
}
}