final class io.netty.util.internal.PlatformDependent$Mpsc extends java.lang.Object
{
private static final boolean USE_MPSC_CHUNKED_ARRAY_QUEUE;
private void <init>()
{
io.netty.util.internal.PlatformDependent$Mpsc v;
v := @this: io.netty.util.internal.PlatformDependent$Mpsc;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
static java.util.Queue newMpscQueue(int)
{
int v, v, v;
java.util.Queue v;
v := @parameter: int;
v = staticinvoke <java.lang.Math: int min(int,int)>(v, 1073741824);
v = staticinvoke <java.lang.Math: int max(int,int)>(v, 2048);
v = staticinvoke <io.netty.util.internal.PlatformDependent$Mpsc: java.util.Queue newChunkedMpscQueue(int,int)>(1024, v);
return v;
}
static java.util.Queue newChunkedMpscQueue(int, int)
{
io.netty.util.internal.shaded.org.jctools.queues.MpscChunkedArrayQueue v;
int v, v;
io.netty.util.internal.shaded.org.jctools.queues.atomic.MpscChunkedAtomicArrayQueue v;
java.util.AbstractQueue v;
boolean v;
v := @parameter: int;
v := @parameter: int;
v = <io.netty.util.internal.PlatformDependent$Mpsc: boolean USE_MPSC_CHUNKED_ARRAY_QUEUE>;
if v == 0 goto label;
v = new io.netty.util.internal.shaded.org.jctools.queues.MpscChunkedArrayQueue;
v = v;
specialinvoke v.<io.netty.util.internal.shaded.org.jctools.queues.MpscChunkedArrayQueue: void <init>(int,int)>(v, v);
goto label;
label:
v = new io.netty.util.internal.shaded.org.jctools.queues.atomic.MpscChunkedAtomicArrayQueue;
v = v;
specialinvoke v.<io.netty.util.internal.shaded.org.jctools.queues.atomic.MpscChunkedAtomicArrayQueue: void <init>(int,int)>(v, v);
label:
return v;
}
static java.util.Queue newMpscQueue()
{
java.util.AbstractQueue v;
io.netty.util.internal.shaded.org.jctools.queues.atomic.MpscUnboundedAtomicArrayQueue v;
boolean v;
io.netty.util.internal.shaded.org.jctools.queues.MpscUnboundedArrayQueue v;
v = <io.netty.util.internal.PlatformDependent$Mpsc: boolean USE_MPSC_CHUNKED_ARRAY_QUEUE>;
if v == 0 goto label;
v = new io.netty.util.internal.shaded.org.jctools.queues.MpscUnboundedArrayQueue;
v = v;
specialinvoke v.<io.netty.util.internal.shaded.org.jctools.queues.MpscUnboundedArrayQueue: void <init>(int)>(1024);
goto label;
label:
v = new io.netty.util.internal.shaded.org.jctools.queues.atomic.MpscUnboundedAtomicArrayQueue;
v = v;
specialinvoke v.<io.netty.util.internal.shaded.org.jctools.queues.atomic.MpscUnboundedAtomicArrayQueue: void <init>(int)>(1024);
label:
return v;
}
static void <clinit>()
{
io.netty.util.internal.PlatformDependent$Mpsc$1 v;
io.netty.util.internal.logging.InternalLogger v, v;
java.lang.Object v;
boolean v;
v = null;
v = staticinvoke <io.netty.util.internal.PlatformDependent: boolean hasUnsafe()>();
if v == 0 goto label;
v = new io.netty.util.internal.PlatformDependent$Mpsc$1;
specialinvoke v.<io.netty.util.internal.PlatformDependent$Mpsc$1: void <init>()>();
v = staticinvoke <java.security.AccessController: java.lang.Object doPrivileged(java.security.PrivilegedAction)>(v);
label:
if v != null goto label;
v = <io.netty.util.internal.PlatformDependent: io.netty.util.internal.logging.InternalLogger logger>;
interfaceinvoke v.<io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String)>("org.jctools-core.MpscChunkedArrayQueue: unavailable");
<io.netty.util.internal.PlatformDependent$Mpsc: boolean USE_MPSC_CHUNKED_ARRAY_QUEUE> = 0;
goto label;
label:
v = <io.netty.util.internal.PlatformDependent: io.netty.util.internal.logging.InternalLogger logger>;
interfaceinvoke v.<io.netty.util.internal.logging.InternalLogger: void debug(java.lang.String)>("org.jctools-core.MpscChunkedArrayQueue: available");
<io.netty.util.internal.PlatformDependent$Mpsc: boolean USE_MPSC_CHUNKED_ARRAY_QUEUE> = 1;
label:
return;
}
}