final class org.jboss.threads.EnhancedViewExecutor extends org.jboss.threads.ViewExecutor
{
private static final org.jboss.logging.Logger log;
private static final long stateOffset;
private static final int QUEUE_FAILURE_LOG_INTERVAL;
private static final int MAX_QUEUE_SPINS;
private static final long SHUTDOWN_MASK;
private static final long ACTIVE_COUNT_MASK;
private static final int QUEUED_SIZE_OFFSET;
private static final long QUEUED_SIZE_MASK;
private final java.util.concurrent.Executor delegate;
private final int maxCount;
private final int queueLimit;
private final java.util.concurrent.locks.Lock executeLock;
private final java.lang.Object shutdownLock;
private final java.util.Set activeRunnables;
private final java.util.Queue queue;
private volatile long state;
private volatile boolean interrupted;
static final boolean $assertionsDisabled;
void <init>(java.util.concurrent.Executor, int, int, java.lang.Thread$UncaughtExceptionHandler)
{
java.util.concurrent.Executor v;
java.lang.Thread$UncaughtExceptionHandler v;
java.util.concurrent.ConcurrentHashMap$KeySetView v;
org.wildfly.common.lock.ExtendedLock v;
int v, v;
java.lang.Object v, v;
org.jboss.threads.EnhancedViewExecutor v;
java.util.concurrent.ConcurrentLinkedQueue v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v := @parameter: java.util.concurrent.Executor;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.lang.Thread$UncaughtExceptionHandler;
specialinvoke v.<org.jboss.threads.ViewExecutor: void <init>()>();
v = new java.lang.Object;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.jboss.threads.EnhancedViewExecutor: java.lang.Object shutdownLock> = v;
v = staticinvoke <java.util.concurrent.ConcurrentHashMap: java.util.concurrent.ConcurrentHashMap$KeySetView newKeySet()>();
v.<org.jboss.threads.EnhancedViewExecutor: java.util.Set activeRunnables> = v;
v = new java.util.concurrent.ConcurrentLinkedQueue;
specialinvoke v.<java.util.concurrent.ConcurrentLinkedQueue: void <init>()>();
v.<org.jboss.threads.EnhancedViewExecutor: java.util.Queue queue> = v;
v.<org.jboss.threads.EnhancedViewExecutor: boolean interrupted> = 0;
v = staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("delegate", v);
v.<org.jboss.threads.EnhancedViewExecutor: java.util.concurrent.Executor delegate> = v;
v.<org.jboss.threads.EnhancedViewExecutor: int maxCount> = v;
v.<org.jboss.threads.EnhancedViewExecutor: int queueLimit> = v;
if v != 0 goto label;
v = null;
goto label;
label:
v = staticinvoke <org.wildfly.common.lock.Locks: org.wildfly.common.lock.ExtendedLock reentrantLock()>();
label:
v.<org.jboss.threads.EnhancedViewExecutor: java.util.concurrent.locks.Lock executeLock> = v;
virtualinvoke v.<org.jboss.threads.EnhancedViewExecutor: void setExceptionHandler(java.lang.Thread$UncaughtExceptionHandler)>(v);
return;
}
public void shutdown(boolean)
{
java.util.Set v;
long v, v;
java.util.function.Consumer v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v, v, v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v := @parameter: boolean;
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: long state>;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: boolean isShutdown(long)>(v);
if v != 0 goto label;
v = v | -9223372036854775808L;
v = specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: boolean compareAndSwapState(long,long)>(v, v);
if v == 0 goto label;
specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: void notifyWaitersIfTerminated(long)>(v);
label:
if v == 0 goto label;
v.<org.jboss.threads.EnhancedViewExecutor: boolean interrupted> = 1;
v = v.<org.jboss.threads.EnhancedViewExecutor: java.util.Set activeRunnables>;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor$interrupt__3211: java.util.function.Consumer bootstrap$()>();
interfaceinvoke v.<java.util.Set: void forEach(java.util.function.Consumer)>(v);
label:
return;
}
public java.util.List shutdownNow()
{
org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable v;
java.util.Set v;
long v, v, v;
java.lang.Runnable v;
java.util.ArrayList v;
java.util.function.Consumer v;
java.util.List v;
int v, v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v, v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: long state>;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int getQueueSize(long)>(v);
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: boolean isShutdown(long)>(v);
if v == 0 goto label;
if v == 0 goto label;
label:
v = v | -9223372036854775808L;
v = v & -4611686016279904257L;
v = specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: boolean compareAndSwapState(long,long)>(v, v);
if v == 0 goto label;
specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: void notifyWaitersIfTerminated(long)>(v);
label:
v.<org.jboss.threads.EnhancedViewExecutor: boolean interrupted> = 1;
v = v.<org.jboss.threads.EnhancedViewExecutor: java.util.Set activeRunnables>;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor$interrupt__3212: java.util.function.Consumer bootstrap$()>();
interfaceinvoke v.<java.util.Set: void forEach(java.util.function.Consumer)>(v);
if v <= 0 goto label;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>(int)>(v);
v = 0;
label:
if v >= v goto label;
v = specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable blockingTake()>();
v = v.<org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable: java.lang.Runnable delegate>;
virtualinvoke v.<java.util.ArrayList: boolean add(java.lang.Object)>(v);
v = v + 1;
goto label;
label:
return v;
label:
v = staticinvoke <java.util.Collections: java.util.List emptyList()>();
return v;
}
public boolean isShutdown()
{
long v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v = v.<org.jboss.threads.EnhancedViewExecutor: long state>;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: boolean isShutdown(long)>(v);
return v;
}
private static boolean isShutdown(long)
{
byte v;
long v, v;
boolean v;
v := @parameter: long;
v = v & -9223372036854775808L;
v = v cmp 0L;
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public boolean isTerminated()
{
long v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v = v.<org.jboss.threads.EnhancedViewExecutor: long state>;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: boolean isTerminated(long)>(v);
return v;
}
private static boolean isTerminated(long)
{
long v;
byte v;
boolean v;
v := @parameter: long;
v = v cmp -9223372036854775808L;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
private void notifyWaitersIfTerminated(long)
{
java.lang.Throwable v;
long v;
java.lang.AssertionError v;
java.lang.Object v, v;
java.util.Queue v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v, v, v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v := @parameter: long;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: boolean isTerminated(long)>(v);
if v == 0 goto label;
v = v.<org.jboss.threads.EnhancedViewExecutor: java.lang.Object shutdownLock>;
entermonitor v;
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: java.lang.Object shutdownLock>;
virtualinvoke v.<java.lang.Object: void notifyAll()>();
exitmonitor v;
label:
goto label;
label:
v := @caughtexception;
exitmonitor v;
throw v;
label:
v = <org.jboss.threads.EnhancedViewExecutor: boolean $assertionsDisabled>;
if v != 0 goto label;
v = v.<org.jboss.threads.EnhancedViewExecutor: java.util.Queue queue>;
v = interfaceinvoke v.<java.util.Queue: boolean isEmpty()>();
if v != 0 goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
virtualinvoke v.<org.jboss.threads.EnhancedViewExecutor: void runTermination()>();
label:
return;
catch java.lang.Throwable from label to label with label;
}
public boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException
{
java.lang.Throwable v;
long v, v, v, v, v, v, v, v;
byte v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v;
java.util.concurrent.TimeUnit v, v, v;
java.lang.Object v, v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v := @parameter: long;
v := @parameter: java.util.concurrent.TimeUnit;
v = virtualinvoke v.<java.util.concurrent.TimeUnit: long toNanos(long)>(v);
v = staticinvoke <java.lang.System: long nanoTime()>();
v = v.<org.jboss.threads.EnhancedViewExecutor: java.lang.Object shutdownLock>;
entermonitor v;
label:
v = virtualinvoke v.<org.jboss.threads.EnhancedViewExecutor: boolean isTerminated()>();
if v != 0 goto label;
v = neg v;
v = staticinvoke <java.lang.System: long nanoTime()>();
v = v;
v = v + v;
v = staticinvoke <java.lang.Math: long max(long,long)>(v, 0L);
v = v - v;
v = <java.util.concurrent.TimeUnit: java.util.concurrent.TimeUnit MILLISECONDS>;
v = <java.util.concurrent.TimeUnit: java.util.concurrent.TimeUnit NANOSECONDS>;
v = virtualinvoke v.<java.util.concurrent.TimeUnit: long convert(long,java.util.concurrent.TimeUnit)>(v, v);
v = v cmp 0L;
if v > 0 goto label;
exitmonitor v;
label:
return 0;
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: java.lang.Object shutdownLock>;
virtualinvoke v.<java.lang.Object: void wait(long)>(v);
goto label;
label:
exitmonitor v;
label:
return 1;
label:
v := @caughtexception;
exitmonitor v;
throw v;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
}
public void execute(java.lang.Runnable)
{
java.lang.Runnable v;
java.lang.Thread v;
boolean v, v, v, v, v;
java.lang.ClassLoader v;
java.lang.Throwable v, v;
long v, v, v, v, v, v;
java.lang.AssertionError v, v;
java.util.concurrent.RejectedExecutionException v, v;
int v, v, v, v, v, v, v, v;
org.jboss.threads.EnhancedViewExecutor v;
org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable v;
java.util.concurrent.Executor v;
java.util.concurrent.locks.Lock v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v := @parameter: java.lang.Runnable;
staticinvoke <org.wildfly.common.Assert: java.lang.Object checkNotNullParam(java.lang.String,java.lang.Object)>("task", v);
v = new org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable;
v = staticinvoke <java.lang.Thread: java.lang.Thread currentThread()>();
v = staticinvoke <org.jboss.threads.JBossExecutors: java.lang.ClassLoader getContextClassLoader(java.lang.Thread)>(v);
specialinvoke v.<org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable: void <init>(org.jboss.threads.EnhancedViewExecutor,java.lang.Runnable,java.lang.ClassLoader)>(v, v, v);
v = v.<org.jboss.threads.EnhancedViewExecutor: int maxCount>;
v = v.<org.jboss.threads.EnhancedViewExecutor: int queueLimit>;
v = null;
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: long state>;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: boolean isShutdown(long)>(v);
if v == 0 goto label;
v = new java.util.concurrent.RejectedExecutionException;
specialinvoke v.<java.util.concurrent.RejectedExecutionException: void <init>(java.lang.String)>("Executor has been shut down");
throw v;
label:
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int getActiveCount(long)>(v);
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int getQueueSize(long)>(v);
if v == 0 goto label;
if v != null goto label;
if v != 0 goto label;
v = v - 1;
if v < v goto label;
v = v.<org.jboss.threads.EnhancedViewExecutor: java.util.concurrent.locks.Lock executeLock>;
interfaceinvoke v.<java.util.concurrent.locks.Lock: void lock()>();
goto label;
label:
if v >= v goto label;
v = <org.jboss.threads.EnhancedViewExecutor: boolean $assertionsDisabled>;
if v != 0 goto label;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int getQueueSize(long)>(v);
if v == 0 goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = v + 1;
v = v & -2147483648L;
v = v | v;
v = specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: boolean compareAndSwapState(long,long)>(v, v);
if v == 0 goto label;
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: java.util.concurrent.Executor delegate>;
interfaceinvoke v.<java.util.concurrent.Executor: void execute(java.lang.Runnable)>(v);
label:
if v == null goto label;
interfaceinvoke v.<java.util.concurrent.locks.Lock: void unlock()>();
label:
return;
label:
v := @caughtexception;
specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable taskComplete(boolean)>(0);
throw v;
label:
if v >= v goto label;
v = <org.jboss.threads.EnhancedViewExecutor: boolean $assertionsDisabled>;
if v != 0 goto label;
if v == v goto label;
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = v + 1;
v = v << 31;
v = v & -4611686016279904257L;
v = v | v;
v = specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: boolean compareAndSwapState(long,long)>(v, v);
if v == 0 goto label;
specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: void enqueue(org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable)>(v);
label:
if v == null goto label;
interfaceinvoke v.<java.util.concurrent.locks.Lock: void unlock()>();
label:
return;
label:
v = new java.util.concurrent.RejectedExecutionException;
specialinvoke v.<java.util.concurrent.RejectedExecutionException: void <init>(java.lang.String)>("No executor queue space remaining");
throw v;
label:
v := @caughtexception;
if v == null goto label;
interfaceinvoke v.<java.util.concurrent.locks.Lock: void unlock()>();
label:
throw v;
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 enqueue(org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable)
{
java.lang.Throwable v;
org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable v;
org.jboss.logging.Logger v;
java.util.concurrent.RejectedExecutionException v;
int v, v;
java.util.Queue v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v, v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v := @parameter: org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable;
v = 0;
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: java.util.Queue queue>;
v = interfaceinvoke v.<java.util.Queue: boolean offer(java.lang.Object)>(v);
if v == 0 goto label;
label:
return;
label:
v = new java.util.concurrent.RejectedExecutionException;
specialinvoke v.<java.util.concurrent.RejectedExecutionException: void <init>(java.lang.String)>("Task was rejected by the queue. This should never happen.");
throw v;
label:
v := @caughtexception;
v = specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: boolean decrementQueueSize()>();
if v == 0 goto label;
throw v;
label:
if v != 0 goto label;
v = <org.jboss.threads.EnhancedViewExecutor: org.jboss.logging.Logger log>;
virtualinvoke v.<org.jboss.logging.Logger: void error(java.lang.Object,java.lang.Throwable)>("Failed to submit a task to the queue. This should never happen.", v);
label:
v = v + 1;
v = <org.jboss.threads.EnhancedViewExecutor: int QUEUE_FAILURE_LOG_INTERVAL>;
if v < v goto label;
v = 0;
label:
staticinvoke <java.lang.Thread: void yield()>();
goto label;
catch java.lang.Throwable from label to label with label;
}
private boolean decrementQueueSize()
{
long v, v, v, v;
int v, v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: long state>;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int getQueueSize(long)>(v);
if v != 0 goto label;
return 0;
label:
v = v - 1;
v = v & -4611686016279904257L;
v = v << 31;
v = v | v;
v = specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: boolean compareAndSwapState(long,long)>(v, v);
if v == 0 goto label;
specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: void notifyWaitersIfTerminated(long)>(v);
return 1;
}
private org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable blockingTake()
{
java.lang.Throwable v;
org.jboss.logging.Logger v;
int v, v, v, v;
java.lang.Object v;
java.util.Queue v;
org.jboss.threads.EnhancedViewExecutor v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v = 0;
v = 0;
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: java.util.Queue queue>;
v = interfaceinvoke v.<java.util.Queue: java.lang.Object poll()>();
if v == null goto label;
label:
return v;
label:
v = <org.jboss.threads.EnhancedViewExecutor: int MAX_QUEUE_SPINS>;
if v >= v goto label;
v = v + 1;
staticinvoke <org.jboss.threads.JDKSpecific: void onSpinWait()>();
goto label;
label:
staticinvoke <java.lang.Thread: void yield()>();
label:
goto label;
label:
v := @caughtexception;
if v != 0 goto label;
v = <org.jboss.threads.EnhancedViewExecutor: org.jboss.logging.Logger log>;
virtualinvoke v.<org.jboss.logging.Logger: void error(java.lang.Object,java.lang.Throwable)>("Failed to read from the queue. This should never happen.", v);
label:
v = v + 1;
v = <org.jboss.threads.EnhancedViewExecutor: int QUEUE_FAILURE_LOG_INTERVAL>;
if v < v goto label;
v = 0;
label:
staticinvoke <java.lang.Thread: void yield()>();
goto label;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
}
private org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable taskComplete(boolean)
{
java.lang.Throwable v;
long v, v, v, v, v, v;
int v, v, v, v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v, v, v;
org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable v;
java.util.concurrent.Executor v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v := @parameter: boolean;
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: long state>;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int getQueueSize(long)>(v);
if v <= 0 goto label;
if v == 0 goto label;
v = v - 1;
v = v << 31;
v = v & -4611686016279904257L;
v = v | v;
v = specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: boolean compareAndSwapState(long,long)>(v, v);
if v == 0 goto label;
v = specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: org.jboss.threads.EnhancedViewExecutor$EnhancedViewExecutorRunnable blockingTake()>();
label:
v = v.<org.jboss.threads.EnhancedViewExecutor: java.util.concurrent.Executor delegate>;
interfaceinvoke v.<java.util.concurrent.Executor: void execute(java.lang.Runnable)>(v);
label:
return null;
label:
v := @caughtexception;
return v;
label:
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int getActiveCount(long)>(v);
v = v - 1;
v = v & -2147483648L;
v = v | v;
v = specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: boolean compareAndSwapState(long,long)>(v, v);
if v == 0 goto label;
specialinvoke v.<org.jboss.threads.EnhancedViewExecutor: void notifyWaitersIfTerminated(long)>(v);
return null;
catch java.lang.Throwable from label to label with label;
}
private static int getActiveCount(long)
{
long v, v;
v := @parameter: long;
v = v & 2147483647L;
return v;
}
private static int getQueueSize(long)
{
long v, v, v;
v := @parameter: long;
v = v & 4611686016279904256L;
v = v >> 31;
return v;
}
private boolean compareAndSwapState(long, long)
{
sun.misc.Unsafe v;
long v, v, v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v := @parameter: long;
v := @parameter: long;
v = <org.jboss.threads.JBossExecutors: sun.misc.Unsafe unsafe>;
v = <org.jboss.threads.EnhancedViewExecutor: long stateOffset>;
v = virtualinvoke v.<sun.misc.Unsafe: boolean compareAndSwapLong(java.lang.Object,long,long,long)>(v, v, v, v);
return v;
}
private java.lang.Thread$UncaughtExceptionHandler uncaughtExceptionHandler()
{
java.lang.Thread$UncaughtExceptionHandler v, v, v;
java.lang.Thread v;
org.jboss.threads.EnhancedViewExecutor v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v = virtualinvoke v.<org.jboss.threads.EnhancedViewExecutor: java.lang.Thread$UncaughtExceptionHandler getExceptionHandler()>();
if v == null goto label;
return v;
label:
v = staticinvoke <java.lang.Thread: java.lang.Thread currentThread()>();
v = virtualinvoke v.<java.lang.Thread: java.lang.Thread$UncaughtExceptionHandler getUncaughtExceptionHandler()>();
if v == null goto label;
v = v;
goto label;
label:
v = staticinvoke <org.jboss.threads.JBossExecutors: java.lang.Thread$UncaughtExceptionHandler loggingExceptionHandler()>();
label:
return v;
}
public java.lang.String toString()
{
java.util.concurrent.Executor v;
long v;
int v, v;
java.lang.String v;
org.jboss.threads.EnhancedViewExecutor v;
boolean v, v;
v := @this: org.jboss.threads.EnhancedViewExecutor;
v = v.<org.jboss.threads.EnhancedViewExecutor: long state>;
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int getActiveCount(long)>(v);
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int getQueueSize(long)>(v);
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: boolean isShutdown(long)>(v);
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: boolean isTerminated(long)>(v);
v = v.<org.jboss.threads.EnhancedViewExecutor: java.util.concurrent.Executor delegate>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.util.concurrent.Executor,int,int,boolean,boolean)>(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[])>("EnhancedViewExecutor{delegate=\u, active=\u, queued=\u, shutdown=\u, terminated=\u0001}");
return v;
}
static void <clinit>()
{
sun.misc.Unsafe v;
org.jboss.logging.Logger v;
long v;
java.lang.reflect.Field v;
java.lang.NoSuchFieldError v;
short v;
java.lang.NoSuchFieldException v;
int v, v, v;
java.lang.Class v, v;
java.lang.String v;
boolean v, v;
v = class "Lorg/jboss/threads/EnhancedViewExecutor;";
v = virtualinvoke v.<java.lang.Class: boolean desiredAssertionStatus()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
<org.jboss.threads.EnhancedViewExecutor: boolean $assertionsDisabled> = v;
v = staticinvoke <org.jboss.logging.Logger: org.jboss.logging.Logger getLogger(java.lang.String)>("org.jboss.threads.view-executor");
<org.jboss.threads.EnhancedViewExecutor: org.jboss.logging.Logger log> = v;
label:
v = <org.jboss.threads.JBossExecutors: sun.misc.Unsafe unsafe>;
v = class "Lorg/jboss/threads/EnhancedViewExecutor;";
v = virtualinvoke v.<java.lang.Class: java.lang.reflect.Field getDeclaredField(java.lang.String)>("state");
v = virtualinvoke v.<sun.misc.Unsafe: long objectFieldOffset(java.lang.reflect.Field)>(v);
<org.jboss.threads.EnhancedViewExecutor: long stateOffset> = v;
label:
goto label;
label:
v := @caughtexception;
v = new java.lang.NoSuchFieldError;
v = virtualinvoke v.<java.lang.NoSuchFieldException: java.lang.String getMessage()>();
specialinvoke v.<java.lang.NoSuchFieldError: void <init>(java.lang.String)>(v);
throw v;
label:
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int readIntPropertyPrefixed(java.lang.String,int)>("queue.failure.log.interval", 1000000);
<org.jboss.threads.EnhancedViewExecutor: int QUEUE_FAILURE_LOG_INTERVAL> = v;
v = staticinvoke <org.wildfly.common.cpu.ProcessorInfo: int availableProcessors()>();
if v != 1 goto label;
v = 0;
goto label;
label:
v = 128;
label:
v = staticinvoke <org.jboss.threads.EnhancedViewExecutor: int readIntPropertyPrefixed(java.lang.String,int)>("queue.poll.spins", v);
<org.jboss.threads.EnhancedViewExecutor: int MAX_QUEUE_SPINS> = v;
return;
catch java.lang.NoSuchFieldException from label to label with label;
}
}