public final class org.apache.catalina.core.StandardServer extends org.apache.catalina.util.LifecycleMBeanBase implements org.apache.catalina.Server
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.catalina.core.StandardServer
super_class: org.apache.catalina.util.LifecycleMBeanBase
{
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private javax.naming.Context globalNamingContext;
descriptor: Ljavax/naming/Context;
flags: (0x0002) ACC_PRIVATE
private org.apache.catalina.deploy.NamingResourcesImpl globalNamingResources;
descriptor: Lorg/apache/catalina/deploy/NamingResourcesImpl;
flags: (0x0002) ACC_PRIVATE
private final org.apache.catalina.core.NamingContextListener namingContextListener;
descriptor: Lorg/apache/catalina/core/NamingContextListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int port;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int portOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String address;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.Random random;
descriptor: Ljava/util/Random;
flags: (0x0002) ACC_PRIVATE
private org.apache.catalina.Service[] services;
descriptor: [Lorg/apache/catalina/Service;
flags: (0x0002) ACC_PRIVATE
private final java.lang.Object servicesLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String shutdown;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
final java.beans.PropertyChangeSupport support;
descriptor: Ljava/beans/PropertyChangeSupport;
flags: (0x0010) ACC_FINAL
private volatile boolean stopAwait;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private org.apache.catalina.startup.Catalina catalina;
descriptor: Lorg/apache/catalina/startup/Catalina;
flags: (0x0002) ACC_PRIVATE
private java.lang.ClassLoader parentClassLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
private volatile java.lang.Thread awaitThread;
descriptor: Ljava/lang/Thread;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.net.ServerSocket awaitSocket;
descriptor: Ljava/net/ServerSocket;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private java.io.File catalinaHome;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private java.io.File catalinaBase;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private final java.lang.Object namingToken;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected int utilityThreads;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected boolean utilityThreadsAsDaemon;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private java.util.concurrent.ScheduledThreadPoolExecutor utilityExecutor;
descriptor: Ljava/util/concurrent/ScheduledThreadPoolExecutor;
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.ScheduledExecutorService utilityExecutorWrapper;
descriptor: Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.ScheduledFuture<?> periodicLifecycleEventFuture;
descriptor: Ljava/util/concurrent/ScheduledFuture;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/ScheduledFuture<*>;
private java.util.concurrent.ScheduledFuture<?> monitorFuture;
descriptor: Ljava/util/concurrent/ScheduledFuture;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/ScheduledFuture<*>;
protected int periodicEventDelay;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private javax.management.ObjectName onameStringCache;
descriptor: Ljavax/management/ObjectName;
flags: (0x0002) ACC_PRIVATE
private javax.management.ObjectName onameMBeanFactory;
descriptor: Ljavax/management/ObjectName;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/core/StandardServer;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
1: ldc "org.apache.catalina.core"
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
2: putstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.util.LifecycleMBeanBase.<init>:()V
1: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.globalNamingContext:Ljavax/naming/Context;
2: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
3: aload 0
sipush 8005
putfield org.apache.catalina.core.StandardServer.port:I
4: aload 0
iconst_0
putfield org.apache.catalina.core.StandardServer.portOffset:I
5: aload 0
ldc "localhost"
putfield org.apache.catalina.core.StandardServer.address:Ljava/lang/String;
6: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.random:Ljava/util/Random;
7: aload 0
iconst_0
anewarray org.apache.catalina.Service
putfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
8: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.apache.catalina.core.StandardServer.servicesLock:Ljava/lang/Object;
9: aload 0
ldc "SHUTDOWN"
putfield org.apache.catalina.core.StandardServer.shutdown:Ljava/lang/String;
10: aload 0
new java.beans.PropertyChangeSupport
dup
aload 0
invokespecial java.beans.PropertyChangeSupport.<init>:(Ljava/lang/Object;)V
putfield org.apache.catalina.core.StandardServer.support:Ljava/beans/PropertyChangeSupport;
11: aload 0
iconst_0
putfield org.apache.catalina.core.StandardServer.stopAwait:Z
12: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.catalina:Lorg/apache/catalina/startup/Catalina;
13: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.parentClassLoader:Ljava/lang/ClassLoader;
14: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.awaitThread:Ljava/lang/Thread;
15: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.awaitSocket:Ljava/net/ServerSocket;
16: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.catalinaHome:Ljava/io/File;
17: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.catalinaBase:Ljava/io/File;
18: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.apache.catalina.core.StandardServer.namingToken:Ljava/lang/Object;
19: aload 0
iconst_2
putfield org.apache.catalina.core.StandardServer.utilityThreads:I
20: aload 0
iconst_0
putfield org.apache.catalina.core.StandardServer.utilityThreadsAsDaemon:Z
21: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.utilityExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
22: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.utilityExecutorWrapper:Ljava/util/concurrent/ScheduledExecutorService;
23: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
24: aload 0
bipush 10
putfield org.apache.catalina.core.StandardServer.periodicEventDelay:I
25: aload 0
new org.apache.catalina.deploy.NamingResourcesImpl
dup
invokespecial org.apache.catalina.deploy.NamingResourcesImpl.<init>:()V
putfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
26: aload 0
getfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
aload 0
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.setContainer:(Ljava/lang/Object;)V
27: aload 0
invokevirtual org.apache.catalina.core.StandardServer.isUseNaming:()Z
ifeq 31
28: aload 0
new org.apache.catalina.core.NamingContextListener
dup
invokespecial org.apache.catalina.core.NamingContextListener.<init>:()V
putfield org.apache.catalina.core.StandardServer.namingContextListener:Lorg/apache/catalina/core/NamingContextListener;
29: aload 0
aload 0
getfield org.apache.catalina.core.StandardServer.namingContextListener:Lorg/apache/catalina/core/NamingContextListener;
invokevirtual org.apache.catalina.core.StandardServer.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
30: goto 32
31: StackMap locals: org.apache.catalina.core.StandardServer
StackMap stack:
aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.namingContextListener:Lorg/apache/catalina/core/NamingContextListener;
32: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/apache/catalina/core/StandardServer;
public java.lang.Object getNamingToken();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.namingToken:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public javax.naming.Context getGlobalNamingContext();
descriptor: ()Ljavax/naming/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.globalNamingContext:Ljavax/naming/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public void setGlobalNamingContext(javax.naming.Context);
descriptor: (Ljavax/naming/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.core.StandardServer.globalNamingContext:Ljavax/naming/Context;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 globalNamingContext Ljavax/naming/Context;
MethodParameters:
Name Flags
globalNamingContext
public org.apache.catalina.deploy.NamingResourcesImpl getGlobalNamingResources();
descriptor: ()Lorg/apache/catalina/deploy/NamingResourcesImpl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public void setGlobalNamingResources(org.apache.catalina.deploy.NamingResourcesImpl);
descriptor: (Lorg/apache/catalina/deploy/NamingResourcesImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
1: astore 2
start local 2 2: aload 0
aload 1
putfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
3: aload 0
getfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
aload 0
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.setContainer:(Ljava/lang/Object;)V
4: aload 0
getfield org.apache.catalina.core.StandardServer.support:Ljava/beans/PropertyChangeSupport;
ldc "globalNamingResources"
5: aload 2
6: aload 0
getfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
7: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/core/StandardServer;
0 9 1 globalNamingResources Lorg/apache/catalina/deploy/NamingResourcesImpl;
2 9 2 oldGlobalNamingResources Lorg/apache/catalina/deploy/NamingResourcesImpl;
MethodParameters:
Name Flags
globalNamingResources
public java.lang.String getServerInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.apache.catalina.util.ServerInfo.getServerInfo:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public java.lang.String getServerBuilt();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.apache.catalina.util.ServerInfo.getServerBuilt:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public java.lang.String getServerNumber();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.apache.catalina.util.ServerInfo.getServerNumber:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public int getPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public void setPort(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.core.StandardServer.port:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 port I
MethodParameters:
Name Flags
port
public int getPortOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.portOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public void setPortOffset(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 4
1: new java.lang.IllegalArgumentException
dup
2: getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.portOffset.invalid"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.catalina.core.StandardServer.portOffset:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/core/StandardServer;
0 6 1 portOffset I
MethodParameters:
Name Flags
portOffset
public int getPortWithOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.core.StandardServer.getPort:()I
istore 1
start local 1 1: iload 1
ifle 3
2: iload 1
aload 0
invokevirtual org.apache.catalina.core.StandardServer.getPortOffset:()I
iadd
ireturn
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/core/StandardServer;
1 4 1 port I
public java.lang.String getAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.address:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public void setAddress(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.core.StandardServer.address:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 address Ljava/lang/String;
MethodParameters:
Name Flags
address
public java.lang.String getShutdown();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.shutdown:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public void setShutdown(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.core.StandardServer.shutdown:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 shutdown Ljava/lang/String;
MethodParameters:
Name Flags
shutdown
public org.apache.catalina.startup.Catalina getCatalina();
descriptor: ()Lorg/apache/catalina/startup/Catalina;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.catalina:Lorg/apache/catalina/startup/Catalina;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public void setCatalina(org.apache.catalina.startup.Catalina);
descriptor: (Lorg/apache/catalina/startup/Catalina;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.core.StandardServer.catalina:Lorg/apache/catalina/startup/Catalina;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 catalina Lorg/apache/catalina/startup/Catalina;
MethodParameters:
Name Flags
catalina
public int getUtilityThreads();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.utilityThreads:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
private static int getUtilityThreadsInternal(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
istore 1
start local 1 1: iload 1
ifgt 5
2: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.availableProcessors:()I
iload 1
iadd
istore 1
3: iload 1
iconst_2
if_icmpge 5
4: iconst_2
istore 1
5: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 utilityThreads I
1 6 1 result I
MethodParameters:
Name Flags
utilityThreads
public void setUtilityThreads(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.StandardServer.utilityThreads:I
istore 2
start local 2 1: iload 1
invokestatic org.apache.catalina.core.StandardServer.getUtilityThreadsInternal:(I)I
iload 2
invokestatic org.apache.catalina.core.StandardServer.getUtilityThreadsInternal:(I)I
if_icmpge 3
2: return
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
putfield org.apache.catalina.core.StandardServer.utilityThreads:I
4: iload 2
iload 1
if_icmpeq 6
aload 0
getfield org.apache.catalina.core.StandardServer.utilityExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
ifnull 6
5: aload 0
iload 1
invokestatic org.apache.catalina.core.StandardServer.getUtilityThreadsInternal:(I)I
invokevirtual org.apache.catalina.core.StandardServer.reconfigureUtilityExecutor:(I)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/StandardServer;
0 7 1 utilityThreads I
1 7 2 oldUtilityThreads I
MethodParameters:
Name Flags
utilityThreads
private synchronized void reconfigureUtilityExecutor(int);
descriptor: (I)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.StandardServer.utilityExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
ifnull 3
1: aload 0
getfield org.apache.catalina.core.StandardServer.utilityExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
iload 1
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.setCorePoolSize:(I)V
2: goto 12
3: StackMap locals:
StackMap stack:
new java.util.concurrent.ScheduledThreadPoolExecutor
dup
iload 1
4: new org.apache.tomcat.util.threads.TaskThreadFactory
dup
ldc "Catalina-utility-"
aload 0
getfield org.apache.catalina.core.StandardServer.utilityThreadsAsDaemon:Z
iconst_1
invokespecial org.apache.tomcat.util.threads.TaskThreadFactory.<init>:(Ljava/lang/String;ZI)V
5: invokespecial java.util.concurrent.ScheduledThreadPoolExecutor.<init>:(ILjava/util/concurrent/ThreadFactory;)V
6: astore 2
start local 2 7: aload 2
ldc 10
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.setKeepAliveTime:(JLjava/util/concurrent/TimeUnit;)V
8: aload 2
iconst_1
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.setRemoveOnCancelPolicy:(Z)V
9: aload 2
iconst_0
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.setExecuteExistingDelayedTasksAfterShutdownPolicy:(Z)V
10: aload 0
aload 2
putfield org.apache.catalina.core.StandardServer.utilityExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
11: aload 0
new org.apache.tomcat.util.threads.ScheduledThreadPoolExecutor
dup
aload 0
getfield org.apache.catalina.core.StandardServer.utilityExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invokespecial org.apache.tomcat.util.threads.ScheduledThreadPoolExecutor.<init>:(Ljava/util/concurrent/ScheduledExecutorService;)V
putfield org.apache.catalina.core.StandardServer.utilityExecutorWrapper:Ljava/util/concurrent/ScheduledExecutorService;
end local 2 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/core/StandardServer;
0 13 1 threads I
7 12 2 scheduledThreadPoolExecutor Ljava/util/concurrent/ScheduledThreadPoolExecutor;
MethodParameters:
Name Flags
threads
public boolean getUtilityThreadsAsDaemon();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.utilityThreadsAsDaemon:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public void setUtilityThreadsAsDaemon(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.core.StandardServer.utilityThreadsAsDaemon:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 utilityThreadsAsDaemon Z
MethodParameters:
Name Flags
utilityThreadsAsDaemon
public final int getPeriodicEventDelay();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.periodicEventDelay:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public final void setPeriodicEventDelay(int);
descriptor: (I)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.core.StandardServer.periodicEventDelay:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 periodicEventDelay I
MethodParameters:
Name Flags
periodicEventDelay
public void addService(org.apache.catalina.Service);
descriptor: (Lorg/apache/catalina/Service;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.apache.catalina.Service.setServer:(Lorg/apache/catalina/Server;)V
1: aload 0
getfield org.apache.catalina.core.StandardServer.servicesLock:Ljava/lang/Object;
dup
astore 2
monitorenter
2: aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
arraylength
iconst_1
iadd
anewarray org.apache.catalina.Service
astore 3
start local 3 3: aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
iconst_0
aload 3
iconst_0
aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 3
aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
arraylength
aload 1
aastore
5: aload 0
aload 3
putfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
6: aload 0
invokevirtual org.apache.catalina.core.StandardServer.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 10
7: aload 1
invokeinterface org.apache.catalina.Service.start:()V
8: goto 10
StackMap locals: org.apache.catalina.core.StandardServer org.apache.catalina.Service java.lang.Object org.apache.catalina.Service[]
StackMap stack: org.apache.catalina.LifecycleException
9: pop
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.support:Ljava/beans/PropertyChangeSupport;
ldc "service"
aconst_null
aload 1
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 3 11: aload 2
monitorexit
12: goto 15
StackMap locals: org.apache.catalina.core.StandardServer org.apache.catalina.Service java.lang.Object
StackMap stack: java.lang.Throwable
13: aload 2
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/catalina/core/StandardServer;
0 16 1 service Lorg/apache/catalina/Service;
3 11 3 results [Lorg/apache/catalina/Service;
Exception table:
from to target type
7 8 9 Class org.apache.catalina.LifecycleException
2 12 13 any
13 14 13 any
MethodParameters:
Name Flags
service
public void stopAwait();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.catalina.core.StandardServer.stopAwait:Z
1: aload 0
getfield org.apache.catalina.core.StandardServer.awaitThread:Ljava/lang/Thread;
astore 1
start local 1 2: aload 1
ifnull 13
3: aload 0
getfield org.apache.catalina.core.StandardServer.awaitSocket:Ljava/net/ServerSocket;
astore 2
start local 2 4: aload 2
ifnull 9
5: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.awaitSocket:Ljava/net/ServerSocket;
6: aload 2
invokevirtual java.net.ServerSocket.close:()V
7: goto 9
StackMap locals: org.apache.catalina.core.StandardServer java.lang.Thread java.net.ServerSocket
StackMap stack: java.io.IOException
8: pop
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Thread.interrupt:()V
10: aload 1
ldc 1000
invokevirtual java.lang.Thread.join:(J)V
11: goto 13
StackMap locals:
StackMap stack: java.lang.InterruptedException
12: pop
end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/core/StandardServer;
2 14 1 t Ljava/lang/Thread;
4 13 2 s Ljava/net/ServerSocket;
Exception table:
from to target type
6 7 8 Class java.io.IOException
10 11 12 Class java.lang.InterruptedException
public void await();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=13, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.core.StandardServer.getPortWithOffset:()I
bipush -2
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.core.StandardServer.getPortWithOffset:()I
iconst_m1
if_icmpne 15
3: aload 0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putfield org.apache.catalina.core.StandardServer.awaitThread:Ljava/lang/Thread;
4: goto 8
5: StackMap locals:
StackMap stack:
ldc 10000
invokestatic java.lang.Thread.sleep:(J)V
6: goto 8
StackMap locals:
StackMap stack: java.lang.InterruptedException
7: pop
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.stopAwait:Z
ifeq 5
9: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 1
11: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.awaitThread:Ljava/lang/Thread;
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.awaitThread:Ljava/lang/Thread;
14: return
15: StackMap locals:
StackMap stack:
aload 0
new java.net.ServerSocket
dup
aload 0
invokevirtual org.apache.catalina.core.StandardServer.getPortWithOffset:()I
iconst_1
16: aload 0
getfield org.apache.catalina.core.StandardServer.address:Ljava/lang/String;
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
invokespecial java.net.ServerSocket.<init>:(IILjava/net/InetAddress;)V
17: putfield org.apache.catalina.core.StandardServer.awaitSocket:Ljava/net/ServerSocket;
18: goto 27
StackMap locals:
StackMap stack: java.io.IOException
19: astore 1
start local 1 20: getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.awaitSocket.fail"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.core.StandardServer.address:Ljava/lang/String;
aastore
dup
iconst_1
21: aload 0
invokevirtual org.apache.catalina.core.StandardServer.getPortWithOffset:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
aastore
dup
iconst_2
aload 0
invokevirtual org.apache.catalina.core.StandardServer.getPort:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
aastore
dup
iconst_3
22: aload 0
invokevirtual org.apache.catalina.core.StandardServer.getPortOffset:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
aastore
23: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
24: aload 1
25: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
26: return
end local 1 27: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putfield org.apache.catalina.core.StandardServer.awaitThread:Ljava/lang/Thread;
28: goto 104
29: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.awaitSocket:Ljava/net/ServerSocket;
astore 1
start local 1 30: aload 1
ifnonnull 32
31: goto 115
32: StackMap locals: java.net.ServerSocket
StackMap stack:
aconst_null
astore 2
start local 2 33: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 34: invokestatic java.lang.System.currentTimeMillis:()J
lstore 5
start local 5 35: aload 1
invokevirtual java.net.ServerSocket.accept:()Ljava/net/Socket;
astore 2
36: aload 2
sipush 10000
invokevirtual java.net.Socket.setSoTimeout:(I)V
37: aload 2
invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
astore 4
start local 4 38: goto 70
end local 4 StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder top long
StackMap stack: java.net.SocketTimeoutException
39: astore 7
start local 7 40: getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.accept.timeout"
iconst_1
anewarray java.lang.Object
dup
iconst_0
41: invokestatic java.lang.System.currentTimeMillis:()J
lload 5
lsub
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
42: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
43: aload 7
44: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
45: aload 2
ifnull 104
46: aload 2
invokevirtual java.net.Socket.close:()V
47: goto 104
StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder top long java.net.SocketTimeoutException
StackMap stack: java.io.IOException
48: pop
49: goto 104
end local 7 50: StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder top long
StackMap stack: java.security.AccessControlException
astore 7
start local 7 51: getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.accept.security"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 7
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
52: aload 2
ifnull 104
53: aload 2
invokevirtual java.net.Socket.close:()V
54: goto 104
StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder top long java.security.AccessControlException
StackMap stack: java.io.IOException
55: pop
56: goto 104
end local 7 57: StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder top long
StackMap stack: java.io.IOException
astore 7
start local 7 58: aload 0
getfield org.apache.catalina.core.StandardServer.stopAwait:Z
ifeq 64
59: aload 2
ifnull 115
60: aload 2
invokevirtual java.net.Socket.close:()V
61: goto 115
StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder top long java.io.IOException
StackMap stack: java.io.IOException
62: pop
63: goto 115
64: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.accept.error"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 7
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
65: aload 2
ifnull 115
66: aload 2
invokevirtual java.net.Socket.close:()V
67: goto 115
StackMap locals:
StackMap stack: java.io.IOException
68: pop
69: goto 115
end local 7 start local 4 70: StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder java.io.InputStream long
StackMap stack:
sipush 1024
istore 7
start local 7 71: goto 75
72: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.random:Ljava/util/Random;
ifnonnull 74
73: aload 0
new java.util.Random
dup
invokespecial java.util.Random.<init>:()V
putfield org.apache.catalina.core.StandardServer.random:Ljava/util/Random;
74: StackMap locals:
StackMap stack:
iload 7
aload 0
getfield org.apache.catalina.core.StandardServer.random:Ljava/util/Random;
invokevirtual java.util.Random.nextInt:()I
sipush 1024
irem
iadd
istore 7
75: StackMap locals:
StackMap stack:
iload 7
aload 0
getfield org.apache.catalina.core.StandardServer.shutdown:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmplt 72
76: goto 87
77: StackMap locals:
StackMap stack:
iconst_m1
istore 8
start local 8 78: aload 4
invokevirtual java.io.InputStream.read:()I
istore 8
79: goto 83
StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder java.io.InputStream long int int
StackMap stack: java.io.IOException
80: astore 9
start local 9 81: getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.accept.readError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 9
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
82: iconst_m1
istore 8
end local 9 83: StackMap locals:
StackMap stack:
iload 8
bipush 32
if_icmplt 95
iload 8
bipush 127
if_icmpne 85
84: goto 95
85: StackMap locals:
StackMap stack:
aload 3
iload 8
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
86: iinc 7 -1
end local 8 87: StackMap locals:
StackMap stack:
iload 7
ifgt 77
end local 7 end local 5 end local 4 88: goto 95
StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder
StackMap stack: java.lang.Throwable
89: astore 10
90: aload 2
ifnull 94
91: aload 2
invokevirtual java.net.Socket.close:()V
92: goto 94
StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder top top top top top top java.lang.Throwable
StackMap stack: java.io.IOException
93: pop
94: StackMap locals:
StackMap stack:
aload 10
athrow
95: StackMap locals: org.apache.catalina.core.StandardServer java.net.ServerSocket java.net.Socket java.lang.StringBuilder
StackMap stack:
aload 2
ifnull 99
96: aload 2
invokevirtual java.net.Socket.close:()V
97: goto 99
StackMap locals:
StackMap stack: java.io.IOException
98: pop
99: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield org.apache.catalina.core.StandardServer.shutdown:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 4
start local 4 100: iload 4
ifeq 103
101: getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.shutdownViaPort"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
102: goto 115
103: StackMap locals: int
StackMap stack:
getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.invalidShutdownCommand"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
end local 4 end local 3 end local 2 end local 1 104: StackMap locals: org.apache.catalina.core.StandardServer
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.stopAwait:Z
ifeq 29
105: goto 115
StackMap locals:
StackMap stack: java.lang.Throwable
106: astore 11
107: aload 0
getfield org.apache.catalina.core.StandardServer.awaitSocket:Ljava/net/ServerSocket;
astore 12
start local 12 108: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.awaitThread:Ljava/lang/Thread;
109: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.awaitSocket:Ljava/net/ServerSocket;
110: aload 12
ifnull 114
111: aload 12
invokevirtual java.net.ServerSocket.close:()V
112: goto 114
StackMap locals: org.apache.catalina.core.StandardServer top top top top top top top top top top java.lang.Throwable java.net.ServerSocket
StackMap stack: java.io.IOException
113: pop
end local 12 114: StackMap locals:
StackMap stack:
aload 11
athrow
115: StackMap locals: org.apache.catalina.core.StandardServer
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.awaitSocket:Ljava/net/ServerSocket;
astore 12
start local 12 116: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.awaitThread:Ljava/lang/Thread;
117: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.awaitSocket:Ljava/net/ServerSocket;
118: aload 12
ifnull 122
119: aload 12
invokevirtual java.net.ServerSocket.close:()V
120: goto 122
StackMap locals: org.apache.catalina.core.StandardServer top top top top top top top top top top top java.net.ServerSocket
StackMap stack: java.io.IOException
121: pop
end local 12 122: StackMap locals: org.apache.catalina.core.StandardServer
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 123 0 this Lorg/apache/catalina/core/StandardServer;
20 27 1 e Ljava/io/IOException;
30 104 1 serverSocket Ljava/net/ServerSocket;
33 104 2 socket Ljava/net/Socket;
34 104 3 command Ljava/lang/StringBuilder;
38 39 4 stream Ljava/io/InputStream;
70 88 4 stream Ljava/io/InputStream;
35 88 5 acceptStartTime J
40 50 7 ste Ljava/net/SocketTimeoutException;
51 57 7 ace Ljava/security/AccessControlException;
58 70 7 e Ljava/io/IOException;
71 88 7 expected I
78 87 8 ch I
81 83 9 e Ljava/io/IOException;
100 104 4 match Z
108 114 12 serverSocket Ljava/net/ServerSocket;
116 122 12 serverSocket Ljava/net/ServerSocket;
Exception table:
from to target type
5 6 7 Class java.lang.InterruptedException
3 10 10 any
15 18 19 Class java.io.IOException
35 38 39 Class java.net.SocketTimeoutException
45 47 48 Class java.io.IOException
35 38 50 Class java.security.AccessControlException
52 54 55 Class java.io.IOException
35 38 57 Class java.io.IOException
59 61 62 Class java.io.IOException
65 67 68 Class java.io.IOException
78 79 80 Class java.io.IOException
34 45 89 any
50 52 89 any
57 59 89 any
64 65 89 any
70 89 89 any
90 92 93 Class java.io.IOException
95 97 98 Class java.io.IOException
27 106 106 any
111 112 113 Class java.io.IOException
119 120 121 Class java.io.IOException
public org.apache.catalina.Service findService(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/catalina/Service;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.servicesLock:Ljava/lang/Object;
dup
astore 2
monitorenter
3: aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: org.apache.catalina.core.StandardServer java.lang.String java.lang.Object top int int org.apache.catalina.Service[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 1
aload 3
invokeinterface org.apache.catalina.Service.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 3
aload 2
monitorexit
7: areturn
end local 3 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 5
if_icmplt 4
10: aload 2
monitorexit
11: goto 14
StackMap locals: org.apache.catalina.core.StandardServer java.lang.String java.lang.Object
StackMap stack: java.lang.Throwable
12: aload 2
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/catalina/core/StandardServer;
0 15 1 name Ljava/lang/String;
5 8 3 service Lorg/apache/catalina/Service;
Exception table:
from to target type
3 7 12 any
8 11 12 any
12 13 12 any
MethodParameters:
Name Flags
name
public org.apache.catalina.Service[] findServices();
descriptor: ()[Lorg/apache/catalina/Service;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public javax.management.ObjectName[] getServiceNames();
descriptor: ()[Ljavax/management/ObjectName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
arraylength
anewarray javax.management.ObjectName
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: javax.management.ObjectName[] int
StackMap stack:
aload 1
iload 2
aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
iload 2
aaload
checkcast org.apache.catalina.core.StandardService
invokevirtual org.apache.catalina.core.StandardService.getObjectName:()Ljavax/management/ObjectName;
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/StandardServer;
1 7 1 onames [Ljavax/management/ObjectName;
2 6 2 i I
public void removeService(org.apache.catalina.Service);
descriptor: (Lorg/apache/catalina/Service;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.StandardServer.servicesLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: iconst_m1
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 8
4: StackMap locals: java.lang.Object int int
StackMap stack:
aload 1
aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
iload 4
aaload
if_acmpne 7
5: iload 4
istore 3
6: goto 9
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
arraylength
if_icmplt 4
end local 4 9: StackMap locals:
StackMap stack:
iload 3
ifge 12
10: aload 2
monitorexit
11: return
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
iload 3
aaload
invokeinterface org.apache.catalina.Service.stop:()V
13: goto 15
StackMap locals:
StackMap stack: org.apache.catalina.LifecycleException
14: pop
15: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 16: aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
arraylength
iconst_1
isub
anewarray org.apache.catalina.Service
astore 5
start local 5 17: iconst_0
istore 6
start local 6 18: goto 22
19: StackMap locals: int org.apache.catalina.Service[] int
StackMap stack:
iload 6
iload 3
if_icmpeq 21
20: aload 5
iload 4
iinc 4 1
aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
iload 6
aaload
aastore
21: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
22: iload 6
aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
arraylength
if_icmplt 19
end local 6 23: aload 0
aload 5
putfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
24: aload 0
getfield org.apache.catalina.core.StandardServer.support:Ljava/beans/PropertyChangeSupport;
ldc "service"
aload 1
aconst_null
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 5 end local 4 end local 3 25: aload 2
monitorexit
26: goto 29
StackMap locals: org.apache.catalina.core.StandardServer org.apache.catalina.Service java.lang.Object
StackMap stack: java.lang.Throwable
27: aload 2
monitorexit
28: athrow
29: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/apache/catalina/core/StandardServer;
0 30 1 service Lorg/apache/catalina/Service;
2 25 3 j I
3 9 4 i I
16 25 4 k I
17 25 5 results [Lorg/apache/catalina/Service;
18 23 6 i I
Exception table:
from to target type
12 13 14 Class org.apache.catalina.LifecycleException
1 11 27 any
12 26 27 any
27 28 27 any
MethodParameters:
Name Flags
service
public java.io.File getCatalinaBase();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.catalinaBase:Ljava/io/File;
ifnull 2
1: aload 0
getfield org.apache.catalina.core.StandardServer.catalinaBase:Ljava/io/File;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.apache.catalina.core.StandardServer.getCatalinaHome:()Ljava/io/File;
putfield org.apache.catalina.core.StandardServer.catalinaBase:Ljava/io/File;
3: aload 0
getfield org.apache.catalina.core.StandardServer.catalinaBase:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/core/StandardServer;
public void setCatalinaBase(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.core.StandardServer.catalinaBase:Ljava/io/File;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 catalinaBase Ljava/io/File;
MethodParameters:
Name Flags
catalinaBase
public java.io.File getCatalinaHome();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.catalinaHome:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public void setCatalinaHome(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.core.StandardServer.catalinaHome:Ljava/io/File;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 catalinaHome Ljava/io/File;
MethodParameters:
Name Flags
catalinaHome
public void addPropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.StandardServer.support:Ljava/beans/PropertyChangeSupport;
aload 1
invokevirtual java.beans.PropertyChangeSupport.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 listener Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
listener
public void removePropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.StandardServer.support:Ljava/beans/PropertyChangeSupport;
aload 1
invokevirtual java.beans.PropertyChangeSupport.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardServer;
0 2 1 listener Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
listener
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "StandardServer["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.apache.catalina.core.StandardServer.getPort:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
2: aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/core/StandardServer;
1 4 1 sb Ljava/lang/StringBuilder;
public synchronized void storeConfig();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=3, args_size=1
start local 0 0: new javax.management.ObjectName
dup
ldc "Catalina:type=StoreConfig"
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
invokevirtual org.apache.tomcat.util.modeler.Registry.getMBeanServer:()Ljavax/management/MBeanServer;
astore 2
start local 2 2: aload 2
aload 1
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 5
3: aload 2
aload 1
ldc "storeConfig"
aconst_null
aconst_null
invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
4: goto 10
5: StackMap locals: javax.management.ObjectName javax.management.MBeanServer
StackMap stack:
getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.storeConfig.notAvailable"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
end local 2 end local 1 6: goto 10
StackMap locals: org.apache.catalina.core.StandardServer
StackMap stack: java.lang.Throwable
7: astore 1
start local 1 8: aload 1
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
9: getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.storeConfig.error"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/core/StandardServer;
1 6 1 sname Ljavax/management/ObjectName;
2 6 2 server Ljavax/management/MBeanServer;
8 10 1 t Ljava/lang/Throwable;
Exception table:
from to target type
0 6 7 Class java.lang.Throwable
Exceptions:
throws javax.management.InstanceNotFoundException, javax.management.MBeanException
public synchronized void storeContext(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: new javax.management.ObjectName
dup
ldc "Catalina:type=StoreConfig"
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
invokevirtual org.apache.tomcat.util.modeler.Registry.getMBeanServer:()Ljavax/management/MBeanServer;
astore 3
start local 3 2: aload 3
aload 2
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 8
3: aload 3
aload 2
ldc "store"
4: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
5: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
6: invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
7: goto 13
8: StackMap locals: javax.management.ObjectName javax.management.MBeanServer
StackMap stack:
getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.storeConfig.notAvailable"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
end local 3 end local 2 9: goto 13
StackMap locals: org.apache.catalina.core.StandardServer org.apache.catalina.Context
StackMap stack: java.lang.Throwable
10: astore 2
start local 2 11: aload 2
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
12: getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.storeConfig.contextError"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/core/StandardServer;
0 14 1 context Lorg/apache/catalina/Context;
1 9 2 sname Ljavax/management/ObjectName;
2 9 3 server Ljavax/management/MBeanServer;
11 13 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 9 10 Class java.lang.Throwable
Exceptions:
throws javax.management.InstanceNotFoundException, javax.management.MBeanException
MethodParameters:
Name Flags
context
private boolean isUseNaming();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: ldc "catalina.useNaming"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 5
3: aload 2
ldc "false"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_0
istore 1
5: StackMap locals: int java.lang.String
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/core/StandardServer;
1 6 1 useNaming Z
2 6 2 useNamingProperty Ljava/lang/String;
protected void startInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=6, args_size=1
start local 0 0: aload 0
ldc "configure_start"
aconst_null
invokevirtual org.apache.catalina.core.StandardServer.fireLifecycleEvent:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
getstatic org.apache.catalina.LifecycleState.STARTING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.core.StandardServer.setState:(Lorg/apache/catalina/LifecycleState;)V
2: aload 0
getfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.start:()V
3: aload 0
getfield org.apache.catalina.core.StandardServer.servicesLock:Ljava/lang/Object;
dup
astore 1
monitorenter
4: aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: org.apache.catalina.core.StandardServer java.lang.Object top int int org.apache.catalina.Service[]
StackMap stack:
5: aload 5
iload 3
aaload
astore 2
start local 2 6: aload 2
invokeinterface org.apache.catalina.Service.start:()V
end local 2 7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 4
if_icmplt 5
9: aload 1
monitorexit
10: goto 13
StackMap locals: org.apache.catalina.core.StandardServer java.lang.Object
StackMap stack: java.lang.Throwable
11: aload 1
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.periodicEventDelay:I
ifle 17
14: aload 0
aload 0
invokevirtual org.apache.catalina.core.StandardServer.getUtilityExecutor:()Ljava/util/concurrent/ScheduledExecutorService;
15: aload 0
invokedynamic run(Lorg/apache/catalina/core/StandardServer;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
org/apache/catalina/core/StandardServer.lambda$0()V (7)
()V
lconst_0
ldc 60
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
16: invokeinterface java.util.concurrent.ScheduledExecutorService.scheduleWithFixedDelay:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
putfield org.apache.catalina.core.StandardServer.monitorFuture:Ljava/util/concurrent/ScheduledFuture;
17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/catalina/core/StandardServer;
6 7 2 service Lorg/apache/catalina/Service;
Exception table:
from to target type
4 10 11 any
11 12 11 any
Exceptions:
throws org.apache.catalina.LifecycleException
protected void startPeriodicLifecycleEvent();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
ifnull 1
aload 0
getfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
ifnull 9
aload 0
getfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
invokeinterface java.util.concurrent.ScheduledFuture.isDone:()Z
ifeq 9
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
ifnull 6
aload 0
getfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
invokeinterface java.util.concurrent.ScheduledFuture.isDone:()Z
ifeq 6
2: aload 0
getfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
invokeinterface java.util.concurrent.ScheduledFuture.get:()Ljava/lang/Object;
pop
3: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
4: astore 1
start local 1 5: getstatic org.apache.catalina.core.StandardServer.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardServer.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardServer.periodicEventError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.apache.catalina.core.StandardServer.getUtilityExecutor:()Ljava/util/concurrent/ScheduledExecutorService;
7: aload 0
invokedynamic run(Lorg/apache/catalina/core/StandardServer;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
org/apache/catalina/core/StandardServer.lambda$1()V (7)
()V
aload 0
getfield org.apache.catalina.core.StandardServer.periodicEventDelay:I
i2l
aload 0
getfield org.apache.catalina.core.StandardServer.periodicEventDelay:I
i2l
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
8: invokeinterface java.util.concurrent.ScheduledExecutorService.scheduleAtFixedRate:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
putfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/core/StandardServer;
5 6 1 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.InterruptedException
2 3 4 Class java.util.concurrent.ExecutionException
protected void stopInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getstatic org.apache.catalina.LifecycleState.STOPPING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.core.StandardServer.setState:(Lorg/apache/catalina/LifecycleState;)V
1: aload 0
getfield org.apache.catalina.core.StandardServer.monitorFuture:Ljava/util/concurrent/ScheduledFuture;
ifnull 4
2: aload 0
getfield org.apache.catalina.core.StandardServer.monitorFuture:Ljava/util/concurrent/ScheduledFuture;
iconst_1
invokeinterface java.util.concurrent.ScheduledFuture.cancel:(Z)Z
pop
3: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.monitorFuture:Ljava/util/concurrent/ScheduledFuture;
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
ifnull 7
5: aload 0
getfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
iconst_0
invokeinterface java.util.concurrent.ScheduledFuture.cancel:(Z)Z
pop
6: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.periodicLifecycleEventFuture:Ljava/util/concurrent/ScheduledFuture;
7: StackMap locals:
StackMap stack:
aload 0
ldc "configure_stop"
aconst_null
invokevirtual org.apache.catalina.core.StandardServer.fireLifecycleEvent:(Ljava/lang/String;Ljava/lang/Object;)V
8: aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 12
StackMap locals: org.apache.catalina.core.StandardServer top int int org.apache.catalina.Service[]
StackMap stack:
9: aload 4
iload 2
aaload
astore 1
start local 1 10: aload 1
invokeinterface org.apache.catalina.Service.stop:()V
end local 1 11: iinc 2 1
StackMap locals:
StackMap stack:
12: iload 2
iload 3
if_icmplt 9
13: aload 0
getfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.stop:()V
14: aload 0
invokevirtual org.apache.catalina.core.StandardServer.stopAwait:()V
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/catalina/core/StandardServer;
10 11 1 service Lorg/apache/catalina/Service;
Exceptions:
throws org.apache.catalina.LifecycleException
protected void initInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.util.LifecycleMBeanBase.initInternal:()V
1: aload 0
aload 0
getfield org.apache.catalina.core.StandardServer.utilityThreads:I
invokestatic org.apache.catalina.core.StandardServer.getUtilityThreadsInternal:(I)I
invokevirtual org.apache.catalina.core.StandardServer.reconfigureUtilityExecutor:(I)V
2: aload 0
aload 0
getfield org.apache.catalina.core.StandardServer.utilityExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
ldc "type=UtilityExecutor"
invokevirtual org.apache.catalina.core.StandardServer.register:(Ljava/lang/Object;Ljava/lang/String;)Ljavax/management/ObjectName;
pop
3: aload 0
aload 0
new org.apache.tomcat.util.buf.StringCache
dup
invokespecial org.apache.tomcat.util.buf.StringCache.<init>:()V
ldc "type=StringCache"
invokevirtual org.apache.catalina.core.StandardServer.register:(Ljava/lang/Object;Ljava/lang/String;)Ljavax/management/ObjectName;
putfield org.apache.catalina.core.StandardServer.onameStringCache:Ljavax/management/ObjectName;
4: new org.apache.catalina.mbeans.MBeanFactory
dup
invokespecial org.apache.catalina.mbeans.MBeanFactory.<init>:()V
astore 1
start local 1 5: aload 1
aload 0
invokevirtual org.apache.catalina.mbeans.MBeanFactory.setContainer:(Ljava/lang/Object;)V
6: aload 0
aload 0
aload 1
ldc "type=MBeanFactory"
invokevirtual org.apache.catalina.core.StandardServer.register:(Ljava/lang/Object;Ljava/lang/String;)Ljavax/management/ObjectName;
putfield org.apache.catalina.core.StandardServer.onameMBeanFactory:Ljavax/management/ObjectName;
7: aload 0
getfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.init:()V
8: aload 0
invokevirtual org.apache.catalina.core.StandardServer.getCatalina:()Lorg/apache/catalina/startup/Catalina;
ifnull 27
9: aload 0
invokevirtual org.apache.catalina.core.StandardServer.getCatalina:()Lorg/apache/catalina/startup/Catalina;
invokevirtual org.apache.catalina.startup.Catalina.getParentClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 10: goto 26
11: StackMap locals: org.apache.catalina.mbeans.MBeanFactory java.lang.ClassLoader
StackMap stack:
aload 2
instanceof java.net.URLClassLoader
ifeq 25
12: aload 2
checkcast java.net.URLClassLoader
invokevirtual java.net.URLClassLoader.getURLs:()[Ljava/net/URL;
astore 3
start local 3 13: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 24
StackMap locals: org.apache.catalina.core.StandardServer org.apache.catalina.mbeans.MBeanFactory java.lang.ClassLoader java.net.URL[] top int int java.net.URL[]
StackMap stack:
14: aload 7
iload 5
aaload
astore 4
start local 4 15: aload 4
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "file"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
16: new java.io.File
dup
aload 4
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
astore 8
start local 8 17: aload 8
invokevirtual java.io.File.isFile:()Z
ifeq 23
18: aload 8
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 23
19: aload 8
invokestatic org.apache.catalina.util.ExtensionValidator.addSystemResource:(Ljava/io/File;)V
end local 8 20: goto 23
StackMap locals: org.apache.catalina.core.StandardServer org.apache.catalina.mbeans.MBeanFactory java.lang.ClassLoader java.net.URL[] java.net.URL int int java.net.URL[]
StackMap stack: java.net.URISyntaxException
21: pop
goto 23
22: StackMap locals:
StackMap stack: java.io.IOException
pop
end local 4 23: StackMap locals: org.apache.catalina.core.StandardServer org.apache.catalina.mbeans.MBeanFactory java.lang.ClassLoader java.net.URL[] top int int java.net.URL[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
24: iload 5
iload 6
if_icmplt 14
end local 3 25: StackMap locals: org.apache.catalina.core.StandardServer org.apache.catalina.mbeans.MBeanFactory java.lang.ClassLoader
StackMap stack:
aload 2
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 2
26: StackMap locals:
StackMap stack:
aload 2
ifnull 27
aload 2
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
if_acmpne 11
end local 2 27: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 31
StackMap locals: org.apache.catalina.core.StandardServer org.apache.catalina.mbeans.MBeanFactory top int int org.apache.catalina.Service[]
StackMap stack:
28: aload 5
iload 3
aaload
astore 2
start local 2 29: aload 2
invokeinterface org.apache.catalina.Service.init:()V
end local 2 30: iinc 3 1
StackMap locals:
StackMap stack:
31: iload 3
iload 4
if_icmplt 28
32: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/apache/catalina/core/StandardServer;
5 33 1 factory Lorg/apache/catalina/mbeans/MBeanFactory;
10 27 2 cl Ljava/lang/ClassLoader;
13 25 3 urls [Ljava/net/URL;
15 23 4 url Ljava/net/URL;
17 20 8 f Ljava/io/File;
29 30 2 service Lorg/apache/catalina/Service;
Exception table:
from to target type
16 20 21 Class java.net.URISyntaxException
16 20 22 Class java.io.IOException
Exceptions:
throws org.apache.catalina.LifecycleException
protected void destroyInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.services:[Lorg/apache/catalina/Service;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 4
StackMap locals: org.apache.catalina.core.StandardServer top int int org.apache.catalina.Service[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokeinterface org.apache.catalina.Service.destroy:()V
end local 1 3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 3
if_icmplt 1
5: aload 0
getfield org.apache.catalina.core.StandardServer.globalNamingResources:Lorg/apache/catalina/deploy/NamingResourcesImpl;
invokevirtual org.apache.catalina.deploy.NamingResourcesImpl.destroy:()V
6: aload 0
aload 0
getfield org.apache.catalina.core.StandardServer.onameMBeanFactory:Ljavax/management/ObjectName;
invokevirtual org.apache.catalina.core.StandardServer.unregister:(Ljavax/management/ObjectName;)V
7: aload 0
aload 0
getfield org.apache.catalina.core.StandardServer.onameStringCache:Ljavax/management/ObjectName;
invokevirtual org.apache.catalina.core.StandardServer.unregister:(Ljavax/management/ObjectName;)V
8: aload 0
getfield org.apache.catalina.core.StandardServer.utilityExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
ifnull 12
9: aload 0
getfield org.apache.catalina.core.StandardServer.utilityExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.shutdownNow:()Ljava/util/List;
pop
10: aload 0
ldc "type=UtilityExecutor"
invokevirtual org.apache.catalina.core.StandardServer.unregister:(Ljava/lang/String;)V
11: aload 0
aconst_null
putfield org.apache.catalina.core.StandardServer.utilityExecutor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
12: StackMap locals: org.apache.catalina.core.StandardServer
StackMap stack:
aload 0
invokespecial org.apache.catalina.util.LifecycleMBeanBase.destroyInternal:()V
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/core/StandardServer;
2 3 1 service Lorg/apache/catalina/Service;
Exceptions:
throws org.apache.catalina.LifecycleException
public java.lang.ClassLoader getParentClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.parentClassLoader:Ljava/lang/ClassLoader;
ifnull 2
1: aload 0
getfield org.apache.catalina.core.StandardServer.parentClassLoader:Ljava/lang/ClassLoader;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.StandardServer.catalina:Lorg/apache/catalina/startup/Catalina;
ifnull 4
3: aload 0
getfield org.apache.catalina.core.StandardServer.catalina:Lorg/apache/catalina/startup/Catalina;
invokevirtual org.apache.catalina.startup.Catalina.getParentClassLoader:()Ljava/lang/ClassLoader;
areturn
4: StackMap locals:
StackMap stack:
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/core/StandardServer;
public void setParentClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.StandardServer.parentClassLoader:Ljava/lang/ClassLoader;
astore 2
start local 2 1: aload 0
aload 1
putfield org.apache.catalina.core.StandardServer.parentClassLoader:Ljava/lang/ClassLoader;
2: aload 0
getfield org.apache.catalina.core.StandardServer.support:Ljava/beans/PropertyChangeSupport;
ldc "parentClassLoader"
aload 2
3: aload 0
getfield org.apache.catalina.core.StandardServer.parentClassLoader:Ljava/lang/ClassLoader;
4: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/core/StandardServer;
0 6 1 parent Ljava/lang/ClassLoader;
1 6 2 oldParentClassLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
parent
protected java.lang.String getDomainInternal();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual org.apache.catalina.core.StandardServer.findServices:()[Lorg/apache/catalina/Service;
astore 2
start local 2 2: aload 2
arraylength
ifle 6
3: aload 2
iconst_0
aaload
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 3
invokeinterface org.apache.catalina.Service.getDomain:()Ljava/lang/String;
astore 1
end local 3 6: StackMap locals: java.lang.String org.apache.catalina.Service[]
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/StandardServer;
1 7 1 domain Ljava/lang/String;
2 7 2 services [Lorg/apache/catalina/Service;
4 6 3 service Lorg/apache/catalina/Service;
protected final java.lang.String getObjectNameKeyProperties();
descriptor: ()Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "type=Server"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
public java.util.concurrent.ScheduledExecutorService getUtilityExecutor();
descriptor: ()Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.StandardServer.utilityExecutorWrapper:Ljava/util/concurrent/ScheduledExecutorService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
private void lambda$0();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.core.StandardServer.startPeriodicLifecycleEvent:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
private void lambda$1();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "periodic"
aconst_null
invokevirtual org.apache.catalina.core.StandardServer.fireLifecycleEvent:(Ljava/lang/String;Ljava/lang/Object;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/StandardServer;
}
SourceFile: "StandardServer.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles