public abstract class org.apache.catalina.session.PersistentManagerBase extends org.apache.catalina.session.ManagerBase implements org.apache.catalina.StoreManager
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.catalina.session.PersistentManagerBase
super_class: org.apache.catalina.session.ManagerBase
{
private final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "PersistentManagerBase"
private static final java.lang.String PERSISTED_LAST_ACCESSED_TIME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "org.apache.catalina.session.PersistentManagerBase.persistedLastAccessedTime"
protected org.apache.catalina.Store store;
descriptor: Lorg/apache/catalina/Store;
flags: (0x0004) ACC_PROTECTED
protected boolean saveOnRestart;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected int maxIdleBackup;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int minIdleSwap;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int maxIdleSwap;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private final java.util.Map<java.lang.String, java.lang.Object> sessionSwapInLocks;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private final java.lang.ThreadLocal<org.apache.catalina.Session> sessionToSwapIn;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lorg/apache/catalina/Session;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.session.ManagerBase.<init>:()V
1: aload 0
ldc Lorg/apache/catalina/session/PersistentManagerBase;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
2: aload 0
aconst_null
putfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
3: aload 0
iconst_1
putfield org.apache.catalina.session.PersistentManagerBase.saveOnRestart:Z
4: aload 0
iconst_m1
putfield org.apache.catalina.session.PersistentManagerBase.maxIdleBackup:I
5: aload 0
iconst_m1
putfield org.apache.catalina.session.PersistentManagerBase.minIdleSwap:I
6: aload 0
iconst_m1
putfield org.apache.catalina.session.PersistentManagerBase.maxIdleSwap:I
7: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.session.PersistentManagerBase.sessionSwapInLocks:Ljava/util/Map;
8: aload 0
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield org.apache.catalina.session.PersistentManagerBase.sessionToSwapIn:Ljava/lang/ThreadLocal;
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/session/PersistentManagerBase;
public int getMaxIdleBackup();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleBackup:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/PersistentManagerBase;
public void setMaxIdleBackup(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleBackup:I
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleBackup:I
istore 2
start local 2 3: aload 0
iload 1
putfield org.apache.catalina.session.PersistentManagerBase.maxIdleBackup:I
4: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.support:Ljava/beans/PropertyChangeSupport;
ldc "maxIdleBackup"
5: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
6: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleBackup:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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/session/PersistentManagerBase;
0 9 1 backup I
3 9 2 oldBackup I
MethodParameters:
Name Flags
backup
public int getMaxIdleSwap();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleSwap:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/PersistentManagerBase;
public void setMaxIdleSwap(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleSwap:I
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleSwap:I
istore 2
start local 2 3: aload 0
iload 1
putfield org.apache.catalina.session.PersistentManagerBase.maxIdleSwap:I
4: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.support:Ljava/beans/PropertyChangeSupport;
ldc "maxIdleSwap"
5: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
6: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleSwap:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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/session/PersistentManagerBase;
0 9 1 max I
3 9 2 oldMaxIdleSwap I
MethodParameters:
Name Flags
max
public int getMinIdleSwap();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.minIdleSwap:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/PersistentManagerBase;
public void setMinIdleSwap(int);
descriptor: (I)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.session.PersistentManagerBase.minIdleSwap:I
iload 1
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.minIdleSwap:I
istore 2
start local 2 3: aload 0
iload 1
putfield org.apache.catalina.session.PersistentManagerBase.minIdleSwap:I
4: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.support:Ljava/beans/PropertyChangeSupport;
ldc "minIdleSwap"
5: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
6: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.minIdleSwap:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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/session/PersistentManagerBase;
0 9 1 min I
3 9 2 oldMinIdleSwap I
MethodParameters:
Name Flags
min
public boolean isLoaded(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.catalina.session.ManagerBase.findSession:(Ljava/lang/String;)Lorg/apache/catalina/Session;
ifnull 4
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 3: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.isLoadedError"
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;
aload 2
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/session/PersistentManagerBase;
0 5 1 id Ljava/lang/String;
3 4 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
id
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "PersistentManagerBase"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/PersistentManagerBase;
public void setStore(org.apache.catalina.Store);
descriptor: (Lorg/apache/catalina/Store;)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.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
1: aload 1
aload 0
invokeinterface org.apache.catalina.Store.setManager:(Lorg/apache/catalina/Manager;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/session/PersistentManagerBase;
0 3 1 store Lorg/apache/catalina/Store;
MethodParameters:
Name Flags
store
public org.apache.catalina.Store getStore();
descriptor: ()Lorg/apache/catalina/Store;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/PersistentManagerBase;
public boolean getSaveOnRestart();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.saveOnRestart:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/session/PersistentManagerBase;
public void setSaveOnRestart(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.saveOnRestart:Z
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.saveOnRestart:Z
istore 2
start local 2 3: aload 0
iload 1
putfield org.apache.catalina.session.PersistentManagerBase.saveOnRestart:Z
4: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.support:Ljava/beans/PropertyChangeSupport;
ldc "saveOnRestart"
5: iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
6: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.saveOnRestart:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
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/session/PersistentManagerBase;
0 9 1 saveOnRestart Z
3 9 2 oldSaveOnRestart Z
MethodParameters:
Name Flags
saveOnRestart
public void clearStore();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 8
3: new org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreClear
dup
aload 0
invokespecial org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreClear.<init>:(Lorg/apache/catalina/session/PersistentManagerBase;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
4: goto 12
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
5: astore 1
start local 1 6: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.storeClearError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 7: goto 12
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
invokeinterface org.apache.catalina.Store.clear:()V
9: goto 12
StackMap locals:
StackMap stack: java.io.IOException
10: astore 1
start local 1 11: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.storeClearError"
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 12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/session/PersistentManagerBase;
6 7 1 e Ljava/security/PrivilegedActionException;
11 12 1 e Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.security.PrivilegedActionException
2 9 10 Class java.io.IOException
public void processExpires();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=1
start local 0 0: invokestatic java.lang.System.currentTimeMillis:()J
lstore 1
start local 1 1: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.findSessions:()[Lorg/apache/catalina/Session;
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 5
4: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Start expire sessions "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " at "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " sessioncount "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
5: StackMap locals: long org.apache.catalina.Session[] int
StackMap stack:
aload 3
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 11
StackMap locals: org.apache.catalina.session.PersistentManagerBase long org.apache.catalina.Session[] int top int int org.apache.catalina.Session[]
StackMap stack:
6: aload 8
iload 6
aaload
astore 5
start local 5 7: aload 5
invokeinterface org.apache.catalina.Session.isValid:()Z
ifne 10
8: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.expiredSessions:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
9: iinc 4 1
end local 5 10: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 7
if_icmplt 6
12: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.processPersistenceChecks:()V
13: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getStore:()Lorg/apache/catalina/Store;
instanceof org.apache.catalina.session.StoreBase
ifeq 15
14: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getStore:()Lorg/apache/catalina/Store;
checkcast org.apache.catalina.session.StoreBase
invokevirtual org.apache.catalina.session.StoreBase.processExpires:()V
15: StackMap locals: org.apache.catalina.session.PersistentManagerBase long org.apache.catalina.Session[] int
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 5
start local 5 16: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 18
17: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "End expire sessions "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " processingTime "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 5
lload 1
lsub
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " expired sessions: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
18: StackMap locals: long
StackMap stack:
aload 0
dup
getfield org.apache.catalina.session.PersistentManagerBase.processingTime:J
lload 5
lload 1
lsub
ladd
putfield org.apache.catalina.session.PersistentManagerBase.processingTime:J
19: return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/catalina/session/PersistentManagerBase;
1 20 1 timeNow J
2 20 3 sessions [Lorg/apache/catalina/Session;
3 20 4 expireHere I
7 10 5 session Lorg/apache/catalina/Session;
16 20 5 timeEnd J
public void processPersistenceChecks();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.processMaxIdleSwaps:()V
1: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.processMaxActiveSwaps:()V
2: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.processMaxIdleBackups:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/session/PersistentManagerBase;
public org.apache.catalina.Session findSession(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/catalina/Session;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.catalina.session.ManagerBase.findSession:(Ljava/lang/String;)Lorg/apache/catalina/Session;
astore 2
start local 2 1: aload 2
ifnull 11
2: aload 2
dup
astore 3
monitorenter
3: aload 0
aload 2
invokeinterface org.apache.catalina.Session.getIdInternal:()Ljava/lang/String;
invokespecial org.apache.catalina.session.ManagerBase.findSession:(Ljava/lang/String;)Lorg/apache/catalina/Session;
astore 2
4: aload 2
ifnull 7
5: aload 2
invokeinterface org.apache.catalina.Session.access:()V
6: aload 2
invokeinterface org.apache.catalina.Session.endAccess:()V
7: StackMap locals: org.apache.catalina.Session org.apache.catalina.Session
StackMap stack:
aload 3
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 2
ifnull 13
12: aload 2
areturn
13: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.session.PersistentManagerBase.swapIn:(Ljava/lang/String;)Lorg/apache/catalina/Session;
astore 2
14: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/catalina/session/PersistentManagerBase;
0 15 1 id Ljava/lang/String;
1 15 2 session Lorg/apache/catalina/Session;
Exception table:
from to target type
3 8 9 any
9 10 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
id
public void removeSuper(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial org.apache.catalina.session.ManagerBase.remove:(Lorg/apache/catalina/Session;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/session/PersistentManagerBase;
0 2 1 session Lorg/apache/catalina/Session;
MethodParameters:
Name Flags
session
public void load();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.sessions:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
ifnonnull 3
2: return
3: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 4: invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 12
5: new org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreKeys
dup
aload 0
invokespecial org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreKeys.<init>:(Lorg/apache/catalina/session/PersistentManagerBase;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.String[]
astore 1
6: goto 17
StackMap locals: org.apache.catalina.session.PersistentManagerBase java.lang.String[]
StackMap stack: java.security.PrivilegedActionException
7: astore 2
start local 2 8: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.storeLoadKeysError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
9: aload 2
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
10: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
11: return
end local 2 12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
invokeinterface org.apache.catalina.Store.keys:()[Ljava/lang/String;
astore 1
13: goto 17
StackMap locals:
StackMap stack: java.io.IOException
14: astore 2
start local 2 15: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.storeLoadKeysError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
16: return
end local 2 17: StackMap locals:
StackMap stack:
aload 1
arraylength
istore 2
start local 2 18: iload 2
ifne 20
19: return
20: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 22
21: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.loading"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.String.valueOf:(I)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.debug:(Ljava/lang/Object;)V
22: StackMap locals:
StackMap stack:
aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 29
StackMap locals: org.apache.catalina.session.PersistentManagerBase java.lang.String[] int top int int java.lang.String[]
StackMap stack:
23: aload 6
iload 4
aaload
astore 3
start local 3 24: aload 0
aload 3
invokevirtual org.apache.catalina.session.PersistentManagerBase.swapIn:(Ljava/lang/String;)Lorg/apache/catalina/Session;
pop
25: goto 28
StackMap locals: org.apache.catalina.session.PersistentManagerBase java.lang.String[] int java.lang.String int int java.lang.String[]
StackMap stack: java.io.IOException
26: astore 7
start local 7 27: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.storeLoadError"
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
end local 7 end local 3 28: StackMap locals: org.apache.catalina.session.PersistentManagerBase java.lang.String[] int top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
29: iload 4
iload 5
if_icmplt 23
30: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/catalina/session/PersistentManagerBase;
4 31 1 ids [Ljava/lang/String;
8 12 2 e Ljava/security/PrivilegedActionException;
15 17 2 e Ljava/io/IOException;
18 31 2 n I
24 28 3 id Ljava/lang/String;
27 28 7 e Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.security.PrivilegedActionException
4 11 14 Class java.io.IOException
12 13 14 Class java.io.IOException
24 25 26 Class java.io.IOException
public void remove(org.apache.catalina.Session, boolean);
descriptor: (Lorg/apache/catalina/Session;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial org.apache.catalina.session.ManagerBase.remove:(Lorg/apache/catalina/Session;Z)V
1: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
ifnull 3
2: aload 0
aload 1
invokeinterface org.apache.catalina.Session.getIdInternal:()Ljava/lang/String;
invokevirtual org.apache.catalina.session.PersistentManagerBase.removeSession:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/session/PersistentManagerBase;
0 4 1 session Lorg/apache/catalina/Session;
0 4 2 update Z
MethodParameters:
Name Flags
session
update
protected void removeSession(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 6
1: new org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreRemove
dup
aload 0
aload 1
invokespecial org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreRemove.<init>:(Lorg/apache/catalina/session/PersistentManagerBase;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
2: goto 10
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
3: astore 2
start local 2 4: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.removeError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 5: goto 10
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
aload 1
invokeinterface org.apache.catalina.Store.remove:(Ljava/lang/String;)V
7: goto 10
StackMap locals:
StackMap stack: java.io.IOException
8: astore 2
start local 2 9: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.removeError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/session/PersistentManagerBase;
0 11 1 id Ljava/lang/String;
4 5 2 e Ljava/security/PrivilegedActionException;
9 10 2 e Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.security.PrivilegedActionException
0 7 8 Class java.io.IOException
MethodParameters:
Name Flags
id
public void unload();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.findSessions:()[Lorg/apache/catalina/Session;
astore 1
start local 1 3: aload 1
arraylength
istore 2
start local 2 4: iload 2
ifne 6
5: return
6: StackMap locals: org.apache.catalina.Session[] int
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 10
7: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.unloading"
iconst_1
anewarray java.lang.Object
dup
iconst_0
8: iload 2
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
aastore
9: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 16
StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] int top int int org.apache.catalina.Session[]
StackMap stack:
11: aload 6
iload 4
aaload
astore 3
start local 3 12: aload 0
aload 3
invokevirtual org.apache.catalina.session.PersistentManagerBase.swapOut:(Lorg/apache/catalina/Session;)V
13: goto 15
StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] int org.apache.catalina.Session int int org.apache.catalina.Session[]
StackMap stack: java.io.IOException
14: pop
end local 3 15: StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] int top int int org.apache.catalina.Session[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
iload 5
if_icmplt 11
17: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/catalina/session/PersistentManagerBase;
3 18 1 sessions [Lorg/apache/catalina/Session;
4 18 2 n I
12 15 3 session Lorg/apache/catalina/Session;
Exception table:
from to target type
12 13 14 Class java.io.IOException
public int getActiveSessionsFull();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getActiveSessions:()I
istore 1
start local 1 1: iload 1
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getStore:()Lorg/apache/catalina/Store;
invokeinterface org.apache.catalina.Store.getSize:()I
iadd
istore 1
2: goto 5
StackMap locals: org.apache.catalina.session.PersistentManagerBase int
StackMap stack: java.io.IOException
3: pop
4: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.storeSizeException"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/session/PersistentManagerBase;
1 6 1 result I
Exception table:
from to target type
1 2 3 Class java.io.IOException
public java.util.Set<java.lang.String> getSessionIdsFull();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.HashSet
dup
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.sessions:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getStore:()Lorg/apache/catalina/Store;
invokeinterface org.apache.catalina.Store.keys:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
2: goto 5
StackMap locals: org.apache.catalina.session.PersistentManagerBase java.util.Set
StackMap stack: java.io.IOException
3: pop
4: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.storeKeysException"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/session/PersistentManagerBase;
1 6 1 sessionIds Ljava/util/Set<Ljava/lang/String;>;
Exception table:
from to target type
1 2 3 Class java.io.IOException
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
protected org.apache.catalina.Session swapIn(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/catalina/Session;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 0
dup
astore 3
monitorenter
4: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.sessionSwapInLocks:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
5: aload 2
ifnonnull 8
6: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 2
7: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.sessionSwapInLocks:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals: java.lang.Object org.apache.catalina.session.PersistentManagerBase
StackMap stack:
aload 3
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 3
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 13: aload 2
dup
astore 4
monitorenter
14: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.sessions:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.Session
astore 3
15: aload 3
ifnonnull 32
16: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.sessionToSwapIn:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast org.apache.catalina.Session
astore 5
start local 5 17: aload 5
ifnull 18
aload 1
aload 5
invokeinterface org.apache.catalina.Session.getId:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 31
18: StackMap locals: org.apache.catalina.Session java.lang.Object org.apache.catalina.Session
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.session.PersistentManagerBase.loadSessionFromStore:(Ljava/lang/String;)Lorg/apache/catalina/Session;
astore 3
19: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.sessionToSwapIn:Ljava/lang/ThreadLocal;
aload 3
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
20: aload 3
ifnull 25
aload 3
invokeinterface org.apache.catalina.Session.isValid:()Z
ifne 25
21: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.swapInInvalid"
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
22: aload 3
invokeinterface org.apache.catalina.Session.expire:()V
23: aload 0
aload 1
invokevirtual org.apache.catalina.session.PersistentManagerBase.removeSession:(Ljava/lang/String;)V
24: aconst_null
astore 3
25: StackMap locals:
StackMap stack:
aload 3
ifnull 31
26: aload 0
aload 1
aload 3
invokevirtual org.apache.catalina.session.PersistentManagerBase.reactivateLoadedSession:(Ljava/lang/String;Lorg/apache/catalina/Session;)V
27: goto 31
StackMap locals:
StackMap stack: java.lang.Throwable
28: astore 6
29: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.sessionToSwapIn:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.remove:()V
30: aload 6
athrow
31: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.sessionToSwapIn:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.remove:()V
end local 5 32: StackMap locals:
StackMap stack:
aload 4
monitorexit
33: goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
34: aload 4
monitorexit
35: athrow
36: StackMap locals:
StackMap stack:
aload 0
dup
astore 4
monitorenter
37: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.sessionSwapInLocks:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
38: aload 4
monitorexit
39: goto 42
StackMap locals: org.apache.catalina.session.PersistentManagerBase java.lang.String java.lang.Object org.apache.catalina.Session org.apache.catalina.session.PersistentManagerBase
StackMap stack: java.lang.Throwable
40: aload 4
monitorexit
41: athrow
42: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lorg/apache/catalina/session/PersistentManagerBase;
0 43 1 id Ljava/lang/String;
3 43 2 swapInLock Ljava/lang/Object;
13 43 3 session Lorg/apache/catalina/Session;
17 32 5 currentSwapInSession Lorg/apache/catalina/Session;
Exception table:
from to target type
4 9 10 any
10 11 10 any
17 28 28 any
14 33 34 any
34 35 34 any
37 39 40 any
40 41 40 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
id
private void reactivateLoadedSession(java.lang.String, org.apache.catalina.Session);
descriptor: (Ljava/lang/String;Lorg/apache/catalina/Session;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.swapIn"
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.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 2
aload 0
invokeinterface org.apache.catalina.Session.setManager:(Lorg/apache/catalina/Manager;)V
3: aload 2
checkcast org.apache.catalina.session.StandardSession
invokevirtual org.apache.catalina.session.StandardSession.tellNew:()V
4: aload 0
aload 2
invokevirtual org.apache.catalina.session.PersistentManagerBase.add:(Lorg/apache/catalina/Session;)V
5: aload 2
checkcast org.apache.catalina.session.StandardSession
invokevirtual org.apache.catalina.session.StandardSession.activate:()V
6: aload 2
invokeinterface org.apache.catalina.Session.access:()V
7: aload 2
invokeinterface org.apache.catalina.Session.endAccess:()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/session/PersistentManagerBase;
0 9 1 id Ljava/lang/String;
0 9 2 session Lorg/apache/catalina/Session;
MethodParameters:
Name Flags
id
session
private org.apache.catalina.Session loadSessionFromStore(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/catalina/Session;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 3
1: aload 0
aload 1
invokevirtual org.apache.catalina.session.PersistentManagerBase.securedStoreLoad:(Ljava/lang/String;)Lorg/apache/catalina/Session;
2: areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
aload 1
invokeinterface org.apache.catalina.Store.load:(Ljava/lang/String;)Lorg/apache/catalina/Session;
4: areturn
5: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 6: getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
7: ldc "persistentManager.deserializeError"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
8: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 9: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
aload 3
aload 2
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
10: new java.lang.IllegalStateException
dup
aload 3
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/session/PersistentManagerBase;
0 11 1 id Ljava/lang/String;
6 11 2 e Ljava/lang/ClassNotFoundException;
9 11 3 msg Ljava/lang/String;
Exception table:
from to target type
0 2 5 Class java.lang.ClassNotFoundException
3 4 5 Class java.lang.ClassNotFoundException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
id
private org.apache.catalina.Session securedStoreLoad(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/catalina/Session;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: new org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreLoad
dup
aload 0
aload 1
invokespecial org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreLoad.<init>:(Lorg/apache/catalina/session/PersistentManagerBase;Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast org.apache.catalina.Session
2: areturn
3: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 2
start local 2 4: aload 2
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
astore 3
start local 3 5: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
6: ldc "persistentManager.swapInException"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
7: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
8: aload 3
9: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
10: aload 3
instanceof java.io.IOException
ifeq 12
11: aload 3
checkcast java.io.IOException
athrow
12: StackMap locals: java.security.PrivilegedActionException java.lang.Exception
StackMap stack:
aload 3
instanceof java.lang.ClassNotFoundException
ifeq 14
13: aload 3
checkcast java.lang.ClassNotFoundException
athrow
end local 3 end local 2 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/session/PersistentManagerBase;
0 15 1 id Ljava/lang/String;
4 14 2 ex Ljava/security/PrivilegedActionException;
5 14 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
id
protected void swapOut(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
ifnull 1
aload 1
invokeinterface org.apache.catalina.Session.isValid:()Z
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.catalina.session.StandardSession
invokevirtual org.apache.catalina.session.StandardSession.passivate:()V
3: aload 0
aload 1
invokevirtual org.apache.catalina.session.PersistentManagerBase.writeSession:(Lorg/apache/catalina/Session;)V
4: aload 0
aload 1
iconst_1
invokespecial org.apache.catalina.session.ManagerBase.remove:(Lorg/apache/catalina/Session;Z)V
5: aload 1
invokeinterface org.apache.catalina.Session.recycle:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/session/PersistentManagerBase;
0 7 1 session Lorg/apache/catalina/Session;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
session
protected void writeSession(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
ifnull 1
aload 1
invokeinterface org.apache.catalina.Session.isValid:()Z
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
invokestatic org.apache.catalina.security.SecurityUtil.isPackageProtectionEnabled:()Z
ifeq 13
3: new org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreSave
dup
aload 0
aload 1
invokespecial org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreSave.<init>:(Lorg/apache/catalina/session/PersistentManagerBase;Lorg/apache/catalina/Session;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
4: goto 18
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
5: astore 2
start local 2 6: aload 2
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
astore 3
start local 3 7: aload 3
instanceof java.io.IOException
ifeq 9
8: aload 3
checkcast java.io.IOException
athrow
9: StackMap locals: java.security.PrivilegedActionException java.lang.Exception
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.serializeError"
iconst_2
anewarray java.lang.Object
dup
iconst_0
10: aload 1
invokeinterface org.apache.catalina.Session.getIdInternal:()Ljava/lang/String;
aastore
dup
iconst_1
aload 3
aastore
11: 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 12: goto 18
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
aload 1
invokeinterface org.apache.catalina.Store.save:(Lorg/apache/catalina/Session;)V
14: goto 18
StackMap locals:
StackMap stack: java.io.IOException
15: astore 2
start local 2 16: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "persistentManager.serializeError"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface org.apache.catalina.Session.getIdInternal:()Ljava/lang/String;
aastore
dup
iconst_1
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
17: aload 2
athrow
end local 2 18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/catalina/session/PersistentManagerBase;
0 19 1 session Lorg/apache/catalina/Session;
6 12 2 ex Ljava/security/PrivilegedActionException;
7 12 3 exception Ljava/lang/Exception;
16 18 2 e Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.security.PrivilegedActionException
2 14 15 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
session
protected synchronized void startInternal();
descriptor: ()V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.session.ManagerBase.startInternal:()V
1: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
ifnonnull 3
2: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
ldc "No Store configured, persistence disabled"
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
goto 5
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
instanceof org.apache.catalina.Lifecycle
ifeq 5
4: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.store:Lorg/apache/catalina/Store;
checkcast org.apache.catalina.Lifecycle
invokeinterface org.apache.catalina.Lifecycle.start:()V
5: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.LifecycleState.STARTING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.session.PersistentManagerBase.setState:(Lorg/apache/catalina/LifecycleState;)V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/session/PersistentManagerBase;
Exceptions:
throws org.apache.catalina.LifecycleException
protected synchronized void stopInternal();
descriptor: ()V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=7, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
ldc "Stopping"
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.LifecycleState.STOPPING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.session.PersistentManagerBase.setState:(Lorg/apache/catalina/LifecycleState;)V
3: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getStore:()Lorg/apache/catalina/Store;
ifnull 6
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.saveOnRestart:Z
ifeq 6
4: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.unload:()V
5: goto 15
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.findSessions:()[Lorg/apache/catalina/Session;
astore 1
start local 1 7: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 14
StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] top int int org.apache.catalina.Session[]
StackMap stack:
8: aload 5
iload 3
aaload
astore 2
start local 2 9: aload 2
checkcast org.apache.catalina.session.StandardSession
astore 6
start local 6 10: aload 6
invokevirtual org.apache.catalina.session.StandardSession.isValid:()Z
ifne 12
11: goto 13
12: StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] org.apache.catalina.Session int int org.apache.catalina.Session[] org.apache.catalina.session.StandardSession
StackMap stack:
aload 6
invokevirtual org.apache.catalina.session.StandardSession.expire:()V
end local 6 end local 2 13: StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] top int int org.apache.catalina.Session[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
iload 4
if_icmplt 8
end local 1 15: StackMap locals: org.apache.catalina.session.PersistentManagerBase
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getStore:()Lorg/apache/catalina/Store;
instanceof org.apache.catalina.Lifecycle
ifeq 17
16: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getStore:()Lorg/apache/catalina/Store;
checkcast org.apache.catalina.Lifecycle
invokeinterface org.apache.catalina.Lifecycle.stop:()V
17: StackMap locals:
StackMap stack:
aload 0
invokespecial org.apache.catalina.session.ManagerBase.stopInternal:()V
18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/catalina/session/PersistentManagerBase;
7 15 1 sessions [Lorg/apache/catalina/Session;
9 13 2 value Lorg/apache/catalina/Session;
10 13 6 session Lorg/apache/catalina/session/StandardSession;
Exceptions:
throws org.apache.catalina.LifecycleException
protected void processMaxIdleSwaps();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 1
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleSwap:I
ifge 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.findSessions:()[Lorg/apache/catalina/Session;
astore 1
start local 1 3: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleSwap:I
iflt 32
4: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 31
StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] top int int org.apache.catalina.Session[]
StackMap stack:
5: aload 5
iload 3
aaload
astore 2
start local 2 6: aload 2
checkcast org.apache.catalina.session.StandardSession
astore 6
start local 6 7: aload 6
dup
astore 7
monitorenter
8: aload 6
invokevirtual org.apache.catalina.session.StandardSession.isValid:()Z
ifne 11
9: aload 7
monitorexit
10: goto 30
11: StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] org.apache.catalina.Session int int org.apache.catalina.Session[] org.apache.catalina.session.StandardSession org.apache.catalina.session.StandardSession
StackMap stack:
aload 6
invokevirtual org.apache.catalina.session.StandardSession.getIdleTimeInternal:()J
ldc 1000
ldiv
l2i
istore 8
start local 8 12: iload 8
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleSwap:I
if_icmplt 26
iload 8
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.minIdleSwap:I
if_icmplt 26
13: aload 6
getfield org.apache.catalina.session.StandardSession.accessCount:Ljava/util/concurrent/atomic/AtomicInteger;
ifnull 17
14: aload 6
getfield org.apache.catalina.session.StandardSession.accessCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifle 17
15: aload 7
monitorexit
16: goto 30
17: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 23
18: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
19: ldc "persistentManager.swapMaxIdle"
iconst_2
anewarray java.lang.Object
dup
iconst_0
20: aload 6
invokevirtual org.apache.catalina.session.StandardSession.getIdInternal:()Ljava/lang/String;
aastore
dup
iconst_1
21: iload 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
22: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
23: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual org.apache.catalina.session.PersistentManagerBase.swapOut:(Lorg/apache/catalina/Session;)V
24: goto 26
StackMap locals:
StackMap stack: java.io.IOException
25: pop
end local 8 26: StackMap locals:
StackMap stack:
aload 7
monitorexit
27: goto 30
StackMap locals:
StackMap stack: java.lang.Throwable
28: aload 7
monitorexit
29: athrow
end local 6 end local 2 30: StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] top int int org.apache.catalina.Session[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
31: iload 3
iload 4
if_icmplt 5
32: StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[]
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/apache/catalina/session/PersistentManagerBase;
3 33 1 sessions [Lorg/apache/catalina/Session;
6 30 2 value Lorg/apache/catalina/Session;
7 30 6 session Lorg/apache/catalina/session/StandardSession;
12 26 8 timeIdle I
Exception table:
from to target type
23 24 25 Class java.io.IOException
8 10 28 any
11 16 28 any
17 27 28 any
28 29 28 any
protected void processMaxActiveSwaps();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 1
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.minIdleSwap:I
iflt 1
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getMaxActiveSessions:()I
ifge 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.findSessions:()[Lorg/apache/catalina/Session;
astore 1
start local 1 3: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getMaxActiveSessions:()I
i2d
ldc 0.9
dmul
d2i
istore 2
start local 2 4: iload 2
aload 1
arraylength
if_icmplt 6
5: return
6: StackMap locals: org.apache.catalina.Session[] int
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 11
7: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
8: ldc "persistentManager.tooManyActive"
iconst_1
anewarray java.lang.Object
dup
iconst_0
9: aload 1
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 1
arraylength
iload 2
isub
istore 3
start local 3 12: iconst_0
istore 4
start local 4 13: goto 37
14: StackMap locals: int int
StackMap stack:
aload 1
iload 4
aaload
checkcast org.apache.catalina.session.StandardSession
astore 5
start local 5 15: aload 5
dup
astore 6
monitorenter
16: aload 5
invokevirtual org.apache.catalina.session.StandardSession.getIdleTimeInternal:()J
ldc 1000
ldiv
l2i
istore 7
start local 7 17: iload 7
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.minIdleSwap:I
if_icmplt 32
18: aload 5
getfield org.apache.catalina.session.StandardSession.accessCount:Ljava/util/concurrent/atomic/AtomicInteger;
ifnull 22
19: aload 5
getfield org.apache.catalina.session.StandardSession.accessCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifle 22
20: aload 6
monitorexit
21: goto 36
22: StackMap locals: org.apache.catalina.session.StandardSession org.apache.catalina.session.StandardSession int
StackMap stack:
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 28
23: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
24: ldc "persistentManager.swapTooManyActive"
iconst_2
anewarray java.lang.Object
dup
iconst_0
25: aload 5
invokevirtual org.apache.catalina.session.StandardSession.getIdInternal:()Ljava/lang/String;
aastore
dup
iconst_1
26: iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
27: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
28: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual org.apache.catalina.session.PersistentManagerBase.swapOut:(Lorg/apache/catalina/Session;)V
29: goto 31
StackMap locals:
StackMap stack: java.io.IOException
30: pop
31: StackMap locals:
StackMap stack:
iinc 3 -1
end local 7 32: StackMap locals:
StackMap stack:
aload 6
monitorexit
33: goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
34: aload 6
monitorexit
35: athrow
end local 5 36: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
37: iload 4
aload 1
arraylength
if_icmpge 38
iload 3
ifgt 14
end local 4 38: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/apache/catalina/session/PersistentManagerBase;
3 39 1 sessions [Lorg/apache/catalina/Session;
4 39 2 limit I
12 39 3 toswap I
13 38 4 i I
15 36 5 session Lorg/apache/catalina/session/StandardSession;
17 32 7 timeIdle I
Exception table:
from to target type
28 29 30 Class java.io.IOException
16 21 34 any
22 33 34 any
34 35 34 any
protected void processMaxIdleBackups();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=12, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 1
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleBackup:I
ifge 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.session.PersistentManagerBase.findSessions:()[Lorg/apache/catalina/Session;
astore 1
start local 1 3: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleBackup:I
iflt 38
4: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 37
StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] top int int org.apache.catalina.Session[]
StackMap stack:
5: aload 5
iload 3
aaload
astore 2
start local 2 6: aload 2
checkcast org.apache.catalina.session.StandardSession
astore 6
start local 6 7: aload 6
dup
astore 7
monitorenter
8: aload 6
invokevirtual org.apache.catalina.session.StandardSession.isValid:()Z
ifne 11
9: aload 7
monitorexit
10: goto 36
11: StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] org.apache.catalina.Session int int org.apache.catalina.Session[] org.apache.catalina.session.StandardSession org.apache.catalina.session.StandardSession
StackMap stack:
aload 6
invokevirtual org.apache.catalina.session.StandardSession.getLastAccessedTimeInternal:()J
lstore 8
start local 8 12: aload 6
ldc "org.apache.catalina.session.PersistentManagerBase.persistedLastAccessedTime"
invokevirtual org.apache.catalina.session.StandardSession.getNote:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Long
13: astore 10
start local 10 14: aload 10
ifnull 18
15: lload 8
aload 10
invokevirtual java.lang.Long.longValue:()J
lcmp
ifne 18
16: aload 7
monitorexit
17: goto 36
18: StackMap locals: long java.lang.Long
StackMap stack:
aload 6
invokevirtual org.apache.catalina.session.StandardSession.getIdleTimeInternal:()J
ldc 1000
ldiv
l2i
istore 11
start local 11 19: iload 11
aload 0
getfield org.apache.catalina.session.PersistentManagerBase.maxIdleBackup:I
if_icmplt 32
20: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 26
21: aload 0
getfield org.apache.catalina.session.PersistentManagerBase.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.session.PersistentManagerBase.sm:Lorg/apache/tomcat/util/res/StringManager;
22: ldc "persistentManager.backupMaxIdle"
iconst_2
anewarray java.lang.Object
dup
iconst_0
23: aload 6
invokevirtual org.apache.catalina.session.StandardSession.getIdInternal:()Ljava/lang/String;
aastore
dup
iconst_1
24: iload 11
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
25: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
26: StackMap locals: int
StackMap stack:
aload 0
aload 6
invokevirtual org.apache.catalina.session.PersistentManagerBase.writeSession:(Lorg/apache/catalina/Session;)V
27: goto 29
StackMap locals:
StackMap stack: java.io.IOException
28: pop
29: StackMap locals:
StackMap stack:
aload 6
ldc "org.apache.catalina.session.PersistentManagerBase.persistedLastAccessedTime"
30: lload 8
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
31: invokevirtual org.apache.catalina.session.StandardSession.setNote:(Ljava/lang/String;Ljava/lang/Object;)V
end local 11 end local 10 end local 8 32: StackMap locals:
StackMap stack:
aload 7
monitorexit
33: goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
34: aload 7
monitorexit
35: athrow
end local 6 end local 2 36: StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[] top int int org.apache.catalina.Session[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
37: iload 3
iload 4
if_icmplt 5
38: StackMap locals: org.apache.catalina.session.PersistentManagerBase org.apache.catalina.Session[]
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/apache/catalina/session/PersistentManagerBase;
3 39 1 sessions [Lorg/apache/catalina/Session;
6 36 2 value Lorg/apache/catalina/Session;
7 36 6 session Lorg/apache/catalina/session/StandardSession;
12 32 8 lastAccessedTime J
14 32 10 persistedLastAccessedTime Ljava/lang/Long;
19 32 11 timeIdle I
Exception table:
from to target type
26 27 28 Class java.io.IOException
8 10 34 any
11 17 34 any
18 33 34 any
34 35 34 any
}
SourceFile: "PersistentManagerBase.java"
NestMembers:
org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreClear org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreKeys org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreLoad org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreRemove org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreSave
InnerClasses:
private PrivilegedStoreClear = org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreClear of org.apache.catalina.session.PersistentManagerBase
private PrivilegedStoreKeys = org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreKeys of org.apache.catalina.session.PersistentManagerBase
private PrivilegedStoreLoad = org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreLoad of org.apache.catalina.session.PersistentManagerBase
private PrivilegedStoreRemove = org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreRemove of org.apache.catalina.session.PersistentManagerBase
private PrivilegedStoreSave = org.apache.catalina.session.PersistentManagerBase$PrivilegedStoreSave of org.apache.catalina.session.PersistentManagerBase