public class oadd.io.netty.buffer.PooledByteBufAllocator extends oadd.io.netty.buffer.AbstractByteBufAllocator implements oadd.io.netty.buffer.ByteBufAllocatorMetricProvider
{
private static final oadd.io.netty.util.internal.logging.InternalLogger logger;
private static final int DEFAULT_NUM_HEAP_ARENA;
private static final int DEFAULT_NUM_DIRECT_ARENA;
private static final int DEFAULT_PAGE_SIZE;
private static final int DEFAULT_MAX_ORDER;
private static final int DEFAULT_SMALL_CACHE_SIZE;
private static final int DEFAULT_NORMAL_CACHE_SIZE;
static final int DEFAULT_MAX_CACHED_BUFFER_CAPACITY;
private static final int DEFAULT_CACHE_TRIM_INTERVAL;
private static final long DEFAULT_CACHE_TRIM_INTERVAL_MILLIS;
private static final boolean DEFAULT_USE_CACHE_FOR_ALL_THREADS;
private static final int DEFAULT_DIRECT_MEMORY_CACHE_ALIGNMENT;
static final int DEFAULT_MAX_CACHED_BYTEBUFFERS_PER_CHUNK;
private static final int MIN_PAGE_SIZE;
private static final int MAX_CHUNK_SIZE;
private final java.lang.Runnable trimTask;
public static final oadd.io.netty.buffer.PooledByteBufAllocator DEFAULT;
private final oadd.io.netty.buffer.PoolArena[] heapArenas;
private final oadd.io.netty.buffer.PoolArena[] directArenas;
private final int smallCacheSize;
private final int normalCacheSize;
private final java.util.List heapArenaMetrics;
private final java.util.List directArenaMetrics;
private final oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache threadCache;
private final int chunkSize;
private final oadd.io.netty.buffer.PooledByteBufAllocatorMetric metric;
static final boolean $assertionsDisabled;
public void <init>()
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator: void <init>(boolean)>(0);
return;
}
public void <init>(boolean)
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
int v, v, v, v;
boolean v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v := @parameter: boolean;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NUM_HEAP_ARENA>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NUM_DIRECT_ARENA>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_PAGE_SIZE>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_ORDER>;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator: void <init>(boolean,int,int,int,int)>(v, v, v, v, v);
return;
}
public void <init>(int, int, int, int)
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
int v, v, v, v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator: void <init>(boolean,int,int,int,int)>(0, v, v, v, v);
return;
}
public void <init>(boolean, int, int, int, int)
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
int v, v, v, v, v, v;
boolean v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v := @parameter: boolean;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_SMALL_CACHE_SIZE>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NORMAL_CACHE_SIZE>;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator: void <init>(boolean,int,int,int,int,int,int,int)>(v, v, v, v, v, 0, v, v);
return;
}
public void <init>(boolean, int, int, int, int, int, int, int)
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
int v, v, v, v, v, v, v, v;
boolean v, v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v := @parameter: boolean;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: boolean DEFAULT_USE_CACHE_FOR_ALL_THREADS>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_DIRECT_MEMORY_CACHE_ALIGNMENT>;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator: void <init>(boolean,int,int,int,int,int,int,boolean,int)>(v, v, v, v, v, v, v, v, v);
return;
}
public void <init>(boolean, int, int, int, int, int, int, int, boolean)
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
int v, v, v, v, v, v, v;
boolean v, v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v := @parameter: boolean;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: boolean;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator: void <init>(boolean,int,int,int,int,int,int,boolean)>(v, v, v, v, v, v, v, v);
return;
}
public void <init>(boolean, int, int, int, int, int, int, boolean)
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
int v, v, v, v, v, v, v;
boolean v, v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v := @parameter: boolean;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: boolean;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_DIRECT_MEMORY_CACHE_ALIGNMENT>;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator: void <init>(boolean,int,int,int,int,int,int,boolean,int)>(v, v, v, v, v, v, v, v, v);
return;
}
public void <init>(boolean, int, int, int, int, int, int, int, boolean, int)
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
int v, v, v, v, v, v, v, v;
boolean v, v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v := @parameter: boolean;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: boolean;
v := @parameter: int;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator: void <init>(boolean,int,int,int,int,int,int,boolean,int)>(v, v, v, v, v, v, v, v, v);
return;
}
public void <init>(boolean, int, int, int, int, int, int, boolean, int)
{
boolean v, v, v, v;
java.util.List v, v, v, v;
long v;
java.util.ArrayList v, v;
oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache v;
oadd.io.netty.buffer.PoolArena[] v, v, v, v, v, v, v, v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.String v;
oadd.io.netty.buffer.PoolArena$DirectArena v;
java.lang.UnsupportedOperationException v;
oadd.io.netty.buffer.PooledByteBufAllocator$1 v;
oadd.io.netty.buffer.PooledByteBufAllocatorMetric v;
java.lang.IllegalArgumentException v, v;
oadd.io.netty.buffer.PoolArena$HeapArena v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v := @parameter: boolean;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: boolean;
v := @parameter: int;
specialinvoke v.<oadd.io.netty.buffer.AbstractByteBufAllocator: void <init>(boolean)>(v);
v = new oadd.io.netty.buffer.PooledByteBufAllocator$1;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator$1: void <init>(oadd.io.netty.buffer.PooledByteBufAllocator)>(v);
v.<oadd.io.netty.buffer.PooledByteBufAllocator: java.lang.Runnable trimTask> = v;
v = new oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache: void <init>(oadd.io.netty.buffer.PooledByteBufAllocator,boolean)>(v, v);
v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache threadCache> = v;
v.<oadd.io.netty.buffer.PooledByteBufAllocator: int smallCacheSize> = v;
v.<oadd.io.netty.buffer.PooledByteBufAllocator: int normalCacheSize> = v;
if v == 0 goto label;
v = staticinvoke <oadd.io.netty.util.internal.PlatformDependent: boolean hasAlignDirectByteBuffer()>();
if v != 0 goto label;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>(java.lang.String)>("Buffer alignment is not supported. Either Unsafe or ByteBuffer.alignSlice() must be available.");
throw v;
label:
v = staticinvoke <oadd.io.netty.util.internal.PlatformDependent: long align(long,int)>(v, v);
label:
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: int validateAndCalculateChunkSize(int,int)>(v, v);
v.<oadd.io.netty.buffer.PooledByteBufAllocator: int chunkSize> = v;
staticinvoke <oadd.io.netty.util.internal.ObjectUtil: int checkPositiveOrZero(int,java.lang.String)>(v, "nHeapArena");
staticinvoke <oadd.io.netty.util.internal.ObjectUtil: int checkPositiveOrZero(int,java.lang.String)>(v, "nDirectArena");
staticinvoke <oadd.io.netty.util.internal.ObjectUtil: int checkPositiveOrZero(int,java.lang.String)>(v, "directMemoryCacheAlignment");
if v <= 0 goto label;
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: boolean isDirectMemoryCacheAlignmentSupported()>();
if v != 0 goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("directMemoryCacheAlignment is not supported");
throw v;
label:
v = neg v;
v = v & v;
if v == v goto label;
v = new java.lang.IllegalArgumentException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(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[])>("directMemoryCacheAlignment: \u (expected: power of two)");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: int validateAndCalculatePageShifts(int,int)>(v, v);
if v <= 0 goto label;
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] newArenaArray(int)>(v);
v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas> = v;
v = new java.util.ArrayList;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas>;
v = lengthof v;
specialinvoke v.<java.util.ArrayList: void <init>(int)>(v);
v = 0;
label:
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas>;
v = lengthof v;
if v >= v goto label;
v = new oadd.io.netty.buffer.PoolArena$HeapArena;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: int chunkSize>;
specialinvoke v.<oadd.io.netty.buffer.PoolArena$HeapArena: void <init>(oadd.io.netty.buffer.PooledByteBufAllocator,int,int,int)>(v, v, v, v);
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas>;
v[v] = v;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = v + 1;
goto label;
label:
v = staticinvoke <java.util.Collections: java.util.List unmodifiableList(java.util.List)>(v);
v.<oadd.io.netty.buffer.PooledByteBufAllocator: java.util.List heapArenaMetrics> = v;
goto label;
label:
v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas> = null;
v = staticinvoke <java.util.Collections: java.util.List emptyList()>();
v.<oadd.io.netty.buffer.PooledByteBufAllocator: java.util.List heapArenaMetrics> = v;
label:
if v <= 0 goto label;
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] newArenaArray(int)>(v);
v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas> = v;
v = new java.util.ArrayList;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas>;
v = lengthof v;
specialinvoke v.<java.util.ArrayList: void <init>(int)>(v);
v = 0;
label:
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas>;
v = lengthof v;
if v >= v goto label;
v = new oadd.io.netty.buffer.PoolArena$DirectArena;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: int chunkSize>;
specialinvoke v.<oadd.io.netty.buffer.PoolArena$DirectArena: void <init>(oadd.io.netty.buffer.PooledByteBufAllocator,int,int,int,int)>(v, v, v, v, v);
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas>;
v[v] = v;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = v + 1;
goto label;
label:
v = staticinvoke <java.util.Collections: java.util.List unmodifiableList(java.util.List)>(v);
v.<oadd.io.netty.buffer.PooledByteBufAllocator: java.util.List directArenaMetrics> = v;
goto label;
label:
v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas> = null;
v = staticinvoke <java.util.Collections: java.util.List emptyList()>();
v.<oadd.io.netty.buffer.PooledByteBufAllocator: java.util.List directArenaMetrics> = v;
label:
v = new oadd.io.netty.buffer.PooledByteBufAllocatorMetric;
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocatorMetric: void <init>(oadd.io.netty.buffer.PooledByteBufAllocator)>(v);
v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PooledByteBufAllocatorMetric metric> = v;
return;
}
private static oadd.io.netty.buffer.PoolArena[] newArenaArray(int)
{
int v;
oadd.io.netty.buffer.PoolArena[] v;
v := @parameter: int;
v = newarray (oadd.io.netty.buffer.PoolArena)[v];
return v;
}
private static int validateAndCalculatePageShifts(int, int)
{
java.lang.IllegalArgumentException v, v, v;
int v, v, v, v, v, v;
java.lang.String v, v, v;
v := @parameter: int;
v := @parameter: int;
if v >= 4096 goto label;
v = new java.lang.IllegalArgumentException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(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[])>("pageSize: \u (expected: 4096)");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v - 1;
v = v & v;
if v == 0 goto label;
v = new java.lang.IllegalArgumentException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(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[])>("pageSize: \u (expected: power of 2)");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
if v >= v goto label;
v = new java.lang.IllegalArgumentException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int,int)>(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[])>("Alignment cannot be greater than page size. Alignment: \u, page size: \u.");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = staticinvoke <java.lang.Integer: int numberOfLeadingZeros(int)>(v);
v = 31 - v;
return v;
}
private static int validateAndCalculateChunkSize(int, int)
{
java.lang.Object[] v;
java.lang.IllegalArgumentException v, v;
java.lang.Integer v, v, v;
int v, v, v, v;
java.lang.String v, v;
v := @parameter: int;
v := @parameter: int;
if v <= 14 goto label;
v = new java.lang.IllegalArgumentException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(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[])>("maxOrder: \u (expected: 0-14)");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v;
v = v;
label:
if v <= 0 goto label;
if v <= 536870912 goto label;
v = new java.lang.IllegalArgumentException;
v = newarray (java.lang.Object)[3];
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(1073741824);
v[2] = v;
v = staticinvoke <java.lang.String: java.lang.String format(java.lang.String,java.lang.Object[])>("pageSize (%d) << maxOrder (%d) must not exceed %d", v);
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = v << 1;
v = v - 1;
goto label;
label:
return v;
}
protected oadd.io.netty.buffer.ByteBuf newHeapBuffer(int, int)
{
oadd.io.netty.buffer.UnpooledHeapByteBuf v, v;
oadd.io.netty.buffer.PoolArena v;
oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache v;
oadd.io.netty.buffer.AbstractReferenceCountedByteBuf v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
int v, v;
oadd.io.netty.buffer.UnpooledUnsafeHeapByteBuf v;
java.lang.Object v;
oadd.io.netty.buffer.ByteBuf v;
boolean v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v := @parameter: int;
v := @parameter: int;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache threadCache>;
v = virtualinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache: java.lang.Object get()>();
v = v.<oadd.io.netty.buffer.PoolThreadCache: oadd.io.netty.buffer.PoolArena heapArena>;
if v == null goto label;
v = virtualinvoke v.<oadd.io.netty.buffer.PoolArena: oadd.io.netty.buffer.PooledByteBuf allocate(oadd.io.netty.buffer.PoolThreadCache,int,int)>(v, v, v);
goto label;
label:
v = staticinvoke <oadd.io.netty.util.internal.PlatformDependent: boolean hasUnsafe()>();
if v == 0 goto label;
v = new oadd.io.netty.buffer.UnpooledUnsafeHeapByteBuf;
v = v;
specialinvoke v.<oadd.io.netty.buffer.UnpooledUnsafeHeapByteBuf: void <init>(oadd.io.netty.buffer.ByteBufAllocator,int,int)>(v, v, v);
goto label;
label:
v = new oadd.io.netty.buffer.UnpooledHeapByteBuf;
v = v;
specialinvoke v.<oadd.io.netty.buffer.UnpooledHeapByteBuf: void <init>(oadd.io.netty.buffer.ByteBufAllocator,int,int)>(v, v, v);
label:
v = v;
label:
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.ByteBuf toLeakAwareBuffer(oadd.io.netty.buffer.ByteBuf)>(v);
return v;
}
protected oadd.io.netty.buffer.ByteBuf newDirectBuffer(int, int)
{
oadd.io.netty.buffer.PoolArena v;
oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache v;
oadd.io.netty.buffer.AbstractReferenceCountedByteBuf v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
oadd.io.netty.buffer.UnpooledDirectByteBuf v;
int v, v;
java.lang.Object v;
oadd.io.netty.buffer.ByteBuf v;
boolean v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v := @parameter: int;
v := @parameter: int;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache threadCache>;
v = virtualinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache: java.lang.Object get()>();
v = v.<oadd.io.netty.buffer.PoolThreadCache: oadd.io.netty.buffer.PoolArena directArena>;
if v == null goto label;
v = virtualinvoke v.<oadd.io.netty.buffer.PoolArena: oadd.io.netty.buffer.PooledByteBuf allocate(oadd.io.netty.buffer.PoolThreadCache,int,int)>(v, v, v);
goto label;
label:
v = staticinvoke <oadd.io.netty.util.internal.PlatformDependent: boolean hasUnsafe()>();
if v == 0 goto label;
v = staticinvoke <oadd.io.netty.buffer.UnsafeByteBufUtil: oadd.io.netty.buffer.UnpooledUnsafeDirectByteBuf newUnsafeDirectByteBuf(oadd.io.netty.buffer.ByteBufAllocator,int,int)>(v, v, v);
goto label;
label:
v = new oadd.io.netty.buffer.UnpooledDirectByteBuf;
specialinvoke v.<oadd.io.netty.buffer.UnpooledDirectByteBuf: void <init>(oadd.io.netty.buffer.ByteBufAllocator,int,int)>(v, v, v);
label:
v = v;
label:
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.ByteBuf toLeakAwareBuffer(oadd.io.netty.buffer.ByteBuf)>(v);
return v;
}
public static int defaultNumHeapArena()
{
int v;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NUM_HEAP_ARENA>;
return v;
}
public static int defaultNumDirectArena()
{
int v;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NUM_DIRECT_ARENA>;
return v;
}
public static int defaultPageSize()
{
int v;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_PAGE_SIZE>;
return v;
}
public static int defaultMaxOrder()
{
int v;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_ORDER>;
return v;
}
public static boolean defaultUseCacheForAllThreads()
{
boolean v;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: boolean DEFAULT_USE_CACHE_FOR_ALL_THREADS>;
return v;
}
public static boolean defaultPreferDirect()
{
boolean v;
v = staticinvoke <oadd.io.netty.util.internal.PlatformDependent: boolean directBufferPreferred()>();
return v;
}
public static int defaultTinyCacheSize()
{
return 0;
}
public static int defaultSmallCacheSize()
{
int v;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_SMALL_CACHE_SIZE>;
return v;
}
public static int defaultNormalCacheSize()
{
int v;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NORMAL_CACHE_SIZE>;
return v;
}
public static boolean isDirectMemoryCacheAlignmentSupported()
{
boolean v;
v = staticinvoke <oadd.io.netty.util.internal.PlatformDependent: boolean hasUnsafe()>();
return v;
}
public boolean isDirectBufferPooled()
{
oadd.io.netty.buffer.PoolArena[] v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
boolean v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas>;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public boolean hasThreadLocalCache()
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
boolean v;
oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache threadCache>;
v = virtualinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache: boolean isSet()>();
return v;
}
public void freeThreadLocalCache()
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache threadCache>;
virtualinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache: void remove()>();
return;
}
public oadd.io.netty.buffer.PooledByteBufAllocatorMetric metric()
{
oadd.io.netty.buffer.PooledByteBufAllocatorMetric v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PooledByteBufAllocatorMetric metric>;
return v;
}
public int numHeapArenas()
{
int v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
java.util.List v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: java.util.List heapArenaMetrics>;
v = interfaceinvoke v.<java.util.List: int size()>();
return v;
}
public int numDirectArenas()
{
int v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
java.util.List v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: java.util.List directArenaMetrics>;
v = interfaceinvoke v.<java.util.List: int size()>();
return v;
}
public java.util.List heapArenas()
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
java.util.List v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: java.util.List heapArenaMetrics>;
return v;
}
public java.util.List directArenas()
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
java.util.List v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: java.util.List directArenaMetrics>;
return v;
}
public int numThreadLocalCaches()
{
oadd.io.netty.buffer.PoolArena v;
oadd.io.netty.buffer.PoolArena[] v, v, v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
java.util.concurrent.atomic.AtomicInteger v;
int v, v, v, v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas>;
if v == null goto label;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas>;
goto label;
label:
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas>;
label:
if v != null goto label;
return 0;
label:
v = 0;
v = v;
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
v = v.<oadd.io.netty.buffer.PoolArena: java.util.concurrent.atomic.AtomicInteger numThreadCaches>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicInteger: int get()>();
v = v + v;
v = v + 1;
goto label;
label:
return v;
}
public int tinyCacheSize()
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
return 0;
}
public int smallCacheSize()
{
int v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: int smallCacheSize>;
return v;
}
public int normalCacheSize()
{
int v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: int normalCacheSize>;
return v;
}
public final int chunkSize()
{
int v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: int chunkSize>;
return v;
}
final long usedHeapMemory()
{
oadd.io.netty.buffer.PoolArena[] v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
long v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas>;
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: long usedMemory(oadd.io.netty.buffer.PoolArena[])>(v);
return v;
}
final long usedDirectMemory()
{
oadd.io.netty.buffer.PoolArena[] v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
long v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas>;
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: long usedMemory(oadd.io.netty.buffer.PoolArena[])>(v);
return v;
}
private static long usedMemory(oadd.io.netty.buffer.PoolArena[])
{
oadd.io.netty.buffer.PoolArena[] v;
byte v;
int v, v;
long v, v;
oadd.io.netty.buffer.PoolArena v;
v := @parameter: oadd.io.netty.buffer.PoolArena[];
if v != null goto label;
return -1L;
label:
v = 0L;
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
v = virtualinvoke v.<oadd.io.netty.buffer.PoolArena: long numActiveBytes()>();
v = v + v;
v = v cmp 0L;
if v >= 0 goto label;
return 9223372036854775807L;
label:
v = v + 1;
goto label;
label:
return v;
}
public final long pinnedHeapMemory()
{
oadd.io.netty.buffer.PoolArena[] v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
long v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas>;
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: long pinnedMemory(oadd.io.netty.buffer.PoolArena[])>(v);
return v;
}
public final long pinnedDirectMemory()
{
oadd.io.netty.buffer.PoolArena[] v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
long v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas>;
v = staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: long pinnedMemory(oadd.io.netty.buffer.PoolArena[])>(v);
return v;
}
private static long pinnedMemory(oadd.io.netty.buffer.PoolArena[])
{
oadd.io.netty.buffer.PoolArena[] v;
byte v;
int v, v;
long v, v;
oadd.io.netty.buffer.PoolArena v;
v := @parameter: oadd.io.netty.buffer.PoolArena[];
if v != null goto label;
return -1L;
label:
v = 0L;
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
v = virtualinvoke v.<oadd.io.netty.buffer.PoolArena: long numPinnedBytes()>();
v = v + v;
v = v cmp 0L;
if v >= 0 goto label;
return 9223372036854775807L;
label:
v = v + 1;
goto label;
label:
return v;
}
final oadd.io.netty.buffer.PoolThreadCache threadCache()
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
java.lang.Object v;
java.lang.AssertionError v;
boolean v;
oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache threadCache>;
v = virtualinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache: java.lang.Object get()>();
v = <oadd.io.netty.buffer.PooledByteBufAllocator: boolean $assertionsDisabled>;
if v != 0 goto label;
if v != null goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
return v;
}
public boolean trimCurrentThreadCache()
{
oadd.io.netty.buffer.PooledByteBufAllocator v;
java.lang.Object v;
oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache threadCache>;
v = virtualinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator$PoolThreadLocalCache: java.lang.Object getIfExists()>();
if v == null goto label;
virtualinvoke v.<oadd.io.netty.buffer.PoolThreadCache: void trim()>();
return 1;
label:
return 0;
}
public java.lang.String dumpStats()
{
oadd.io.netty.buffer.PoolArena v, v;
oadd.io.netty.buffer.PoolArena[] v, v, v, v, v, v;
oadd.io.netty.buffer.PooledByteBufAllocator v;
int v, v, v, v, v, v, v, v;
java.lang.String v, v, v;
java.lang.StringBuilder v, v, v;
v := @this: oadd.io.netty.buffer.PooledByteBufAllocator;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas>;
if v != null goto label;
v = 0;
goto label;
label:
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas>;
v = lengthof v;
label:
v = v;
specialinvoke v.<java.lang.StringBuilder: void <init>(int)>(512);
v = <oadd.io.netty.util.internal.StringUtil: java.lang.String NEWLINE>;
if v <= 0 goto label;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] heapArenas>;
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.Object)>(v);
v = v + 1;
goto label;
label:
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas>;
if v != null goto label;
v = 0;
goto label;
label:
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas>;
v = lengthof v;
label:
v = v;
v = <oadd.io.netty.util.internal.StringUtil: java.lang.String NEWLINE>;
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.String)>(v);
if v <= 0 goto label;
v = v.<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PoolArena[] directArenas>;
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
virtualinvoke v.<java.lang.StringBuilder: java.lang.StringBuilder append(java.lang.Object)>(v);
v = v + 1;
goto label;
label:
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int,java.lang.String,int)>(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[])>("\u heap arena(s):\u0001\u direct arena(s):");
return v;
}
static void <clinit>()
{
java.lang.Integer v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.Long v;
oadd.io.netty.util.internal.logging.InternalLogger v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.Runtime v;
java.lang.Throwable v, v, v, v;
long v, v, v, v, v, v, v, v, v, v, v, v, v, v;
boolean v, v, v, v, v, v, v, v;
oadd.io.netty.buffer.PooledByteBufAllocator 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, v, v, v, v;
java.lang.Boolean v;
java.lang.Class v;
v = class "Loadd/io/netty/buffer/PooledByteBufAllocator;";
v = virtualinvoke v.<java.lang.Class: boolean desiredAssertionStatus()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
<oadd.io.netty.buffer.PooledByteBufAllocator: boolean $assertionsDisabled> = v;
v = staticinvoke <oadd.io.netty.util.internal.logging.InternalLoggerFactory: oadd.io.netty.util.internal.logging.InternalLogger getInstance(java.lang.Class)>(class "Loadd/io/netty/buffer/PooledByteBufAllocator;");
<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger> = v;
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: int getInt(java.lang.String,int)>("oadd.io.netty.allocator.directMemoryCacheAlignment", 0);
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: int getInt(java.lang.String,int)>("oadd.io.netty.allocator.pageSize", 8192);
v = null;
label:
staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: int validateAndCalculatePageShifts(int,int)>(v, v);
label:
goto label;
label:
v := @caughtexception;
v = v;
v = 8192;
v = 0;
label:
<oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_PAGE_SIZE> = v;
<oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_DIRECT_MEMORY_CACHE_ALIGNMENT> = v;
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: int getInt(java.lang.String,int)>("oadd.io.netty.allocator.maxOrder", 11);
v = null;
label:
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_PAGE_SIZE>;
staticinvoke <oadd.io.netty.buffer.PooledByteBufAllocator: int validateAndCalculateChunkSize(int,int)>(v, v);
label:
goto label;
label:
v := @caughtexception;
v = v;
v = 11;
label:
<oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_ORDER> = v;
v = staticinvoke <java.lang.Runtime: java.lang.Runtime getRuntime()>();
v = staticinvoke <oadd.io.netty.util.NettyRuntime: int availableProcessors()>();
v = v * 2;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_PAGE_SIZE>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_ORDER>;
v = v << v;
v = virtualinvoke v.<java.lang.Runtime: long maxMemory()>();
v = v / v;
v = v / 2L;
v = v / 3L;
v = staticinvoke <java.lang.Math: long min(long,long)>(v, v);
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: int getInt(java.lang.String,int)>("oadd.io.netty.allocator.numHeapArenas", v);
v = staticinvoke <java.lang.Math: int max(int,int)>(0, v);
<oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NUM_HEAP_ARENA> = v;
v = staticinvoke <oadd.io.netty.util.internal.PlatformDependent: long maxDirectMemory()>();
v = v / v;
v = v / 2L;
v = v / 3L;
v = staticinvoke <java.lang.Math: long min(long,long)>(v, v);
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: int getInt(java.lang.String,int)>("oadd.io.netty.allocator.numDirectArenas", v);
v = staticinvoke <java.lang.Math: int max(int,int)>(0, v);
<oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NUM_DIRECT_ARENA> = v;
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: int getInt(java.lang.String,int)>("oadd.io.netty.allocator.smallCacheSize", 256);
<oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_SMALL_CACHE_SIZE> = v;
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: int getInt(java.lang.String,int)>("oadd.io.netty.allocator.normalCacheSize", 64);
<oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NORMAL_CACHE_SIZE> = v;
v = (int) 32768;
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: int getInt(java.lang.String,int)>("oadd.io.netty.allocator.maxCachedBufferCapacity", v);
<oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_CACHED_BUFFER_CAPACITY> = v;
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: int getInt(java.lang.String,int)>("oadd.io.netty.allocator.cacheTrimInterval", 8192);
<oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_CACHE_TRIM_INTERVAL> = v;
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: boolean contains(java.lang.String)>("oadd.io.netty.allocation.cacheTrimIntervalMillis");
if v == 0 goto label;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void warn(java.lang.String)>("-Dio.netty.allocation.cacheTrimIntervalMillis is deprecated, use -Dio.netty.allocator.cacheTrimIntervalMillis");
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: boolean contains(java.lang.String)>("oadd.io.netty.allocator.cacheTrimIntervalMillis");
if v == 0 goto label;
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: long getLong(java.lang.String,long)>("oadd.io.netty.allocator.cacheTrimIntervalMillis", 0L);
<oadd.io.netty.buffer.PooledByteBufAllocator: long DEFAULT_CACHE_TRIM_INTERVAL_MILLIS> = v;
goto label;
label:
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: long getLong(java.lang.String,long)>("oadd.io.netty.allocation.cacheTrimIntervalMillis", 0L);
<oadd.io.netty.buffer.PooledByteBufAllocator: long DEFAULT_CACHE_TRIM_INTERVAL_MILLIS> = v;
goto label;
label:
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: long getLong(java.lang.String,long)>("oadd.io.netty.allocator.cacheTrimIntervalMillis", 0L);
<oadd.io.netty.buffer.PooledByteBufAllocator: long DEFAULT_CACHE_TRIM_INTERVAL_MILLIS> = v;
label:
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: boolean getBoolean(java.lang.String,boolean)>("oadd.io.netty.allocator.useCacheForAllThreads", 1);
<oadd.io.netty.buffer.PooledByteBufAllocator: boolean DEFAULT_USE_CACHE_FOR_ALL_THREADS> = v;
v = staticinvoke <oadd.io.netty.util.internal.SystemPropertyUtil: int getInt(java.lang.String,int)>("oadd.io.netty.allocator.maxCachedByteBuffersPerChunk", 1023);
<oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_CACHED_BYTEBUFFERS_PER_CHUNK> = v;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NUM_HEAP_ARENA>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.numHeapArenas: {}", v);
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NUM_DIRECT_ARENA>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.numDirectArenas: {}", v);
if v != null goto label;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_PAGE_SIZE>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.pageSize: {}", v);
goto label;
label:
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_PAGE_SIZE>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object,java.lang.Object)>("-Dio.netty.allocator.pageSize: {}", v, v);
label:
if v != null goto label;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_ORDER>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.maxOrder: {}", v);
goto label;
label:
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_ORDER>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object,java.lang.Object)>("-Dio.netty.allocator.maxOrder: {}", v, v);
label:
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_PAGE_SIZE>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_ORDER>;
v = v << v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.chunkSize: {}", v);
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_SMALL_CACHE_SIZE>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.smallCacheSize: {}", v);
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_NORMAL_CACHE_SIZE>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.normalCacheSize: {}", v);
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_CACHED_BUFFER_CAPACITY>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.maxCachedBufferCapacity: {}", v);
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_CACHE_TRIM_INTERVAL>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.cacheTrimInterval: {}", v);
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: long DEFAULT_CACHE_TRIM_INTERVAL_MILLIS>;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.cacheTrimIntervalMillis: {}", v);
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: boolean DEFAULT_USE_CACHE_FOR_ALL_THREADS>;
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.useCacheForAllThreads: {}", v);
v = <oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.util.internal.logging.InternalLogger logger>;
v = <oadd.io.netty.buffer.PooledByteBufAllocator: int DEFAULT_MAX_CACHED_BYTEBUFFERS_PER_CHUNK>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<oadd.io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String,java.lang.Object)>("-Dio.netty.allocator.maxCachedByteBuffersPerChunk: {}", v);
label:
v = new oadd.io.netty.buffer.PooledByteBufAllocator;
v = staticinvoke <oadd.io.netty.util.internal.PlatformDependent: boolean directBufferPreferred()>();
specialinvoke v.<oadd.io.netty.buffer.PooledByteBufAllocator: void <init>(boolean)>(v);
<oadd.io.netty.buffer.PooledByteBufAllocator: oadd.io.netty.buffer.PooledByteBufAllocator DEFAULT> = v;
return;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
}
}