public class org.eclipse.jetty.server.session.HouseKeeper extends org.eclipse.jetty.util.component.AbstractLifeCycle
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.session.HouseKeeper
super_class: org.eclipse.jetty.util.component.AbstractLifeCycle
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final long DEFAULT_PERIOD_MS;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 600000
private final org.eclipse.jetty.util.thread.AutoLock _lock;
descriptor: Lorg/eclipse/jetty/util/thread/AutoLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected org.eclipse.jetty.server.SessionIdManager _sessionIdManager;
descriptor: Lorg/eclipse/jetty/server/SessionIdManager;
flags: (0x0004) ACC_PROTECTED
protected org.eclipse.jetty.util.thread.Scheduler _scheduler;
descriptor: Lorg/eclipse/jetty/util/thread/Scheduler;
flags: (0x0004) ACC_PROTECTED
protected org.eclipse.jetty.util.thread.Scheduler$Task _task;
descriptor: Lorg/eclipse/jetty/util/thread/Scheduler$Task;
flags: (0x0004) ACC_PROTECTED
protected org.eclipse.jetty.server.session.HouseKeeper$Runner _runner;
descriptor: Lorg/eclipse/jetty/server/session/HouseKeeper$Runner;
flags: (0x0004) ACC_PROTECTED
protected boolean _ownScheduler;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private long _intervalMs;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/server/session/HouseKeeper;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
1: return
LocalVariableTable:
Start End Slot Name Signature
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.eclipse.jetty.util.component.AbstractLifeCycle.<init>:()V
1: aload 0
new org.eclipse.jetty.util.thread.AutoLock
dup
invokespecial org.eclipse.jetty.util.thread.AutoLock.<init>:()V
putfield org.eclipse.jetty.server.session.HouseKeeper._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
2: aload 0
iconst_0
putfield org.eclipse.jetty.server.session.HouseKeeper._ownScheduler:Z
3: aload 0
ldc 600000
putfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/session/HouseKeeper;
public void setSessionIdManager(org.eclipse.jetty.server.SessionIdManager);
descriptor: (Lorg/eclipse/jetty/server/SessionIdManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.isStarted:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "HouseKeeper started"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/session/HouseKeeper;
0 4 1 sessionIdManager Lorg/eclipse/jetty/server/SessionIdManager;
MethodParameters:
Name Flags
sessionIdManager
protected void doStart();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "No SessionIdManager for Housekeeper"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.getIntervalSec:()J
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.setIntervalSec:(J)V
3: aload 0
invokespecial org.eclipse.jetty.util.component.AbstractLifeCycle.doStart:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/session/HouseKeeper;
Exceptions:
throws java.lang.Exception
protected void startScavenging();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
ifnonnull 14
3: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
instanceof org.eclipse.jetty.server.session.DefaultSessionIdManager
ifeq 5
4: aload 0
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
checkcast org.eclipse.jetty.server.session.DefaultSessionIdManager
invokevirtual org.eclipse.jetty.server.session.DefaultSessionIdManager.getServer:()Lorg/eclipse/jetty/server/Server;
ldc Lorg/eclipse/jetty/util/thread/Scheduler;
invokevirtual org.eclipse.jetty.server.Server.getBean:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.thread.Scheduler
putfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
5: StackMap locals: java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
ifnonnull 12
6: aload 0
new org.eclipse.jetty.util.thread.ScheduledExecutorScheduler
dup
ldc "Session-HouseKeeper-%x"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
iconst_0
invokespecial org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.<init>:(Ljava/lang/String;Z)V
putfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
7: aload 0
iconst_1
putfield org.eclipse.jetty.server.session.HouseKeeper._ownScheduler:Z
8: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
invokeinterface org.eclipse.jetty.util.thread.Scheduler.start:()V
9: getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 14
10: getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
ldc "{} using own scheduler for scavenging"
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
invokeinterface org.eclipse.jetty.server.SessionIdManager.getWorkerName:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
11: goto 14
12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
invokeinterface org.eclipse.jetty.util.thread.Scheduler.isStarted:()Z
ifne 14
13: new java.lang.IllegalStateException
dup
ldc "Shared scheduler not started"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._task:Lorg/eclipse/jetty/util/thread/Scheduler$Task;
ifnull 16
15: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._task:Lorg/eclipse/jetty/util/thread/Scheduler$Task;
invokeinterface org.eclipse.jetty.util.thread.Scheduler$Task.cancel:()Z
pop
16: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._runner:Lorg/eclipse/jetty/server/session/HouseKeeper$Runner;
ifnonnull 18
17: aload 0
new org.eclipse.jetty.server.session.HouseKeeper$Runner
dup
aload 0
invokespecial org.eclipse.jetty.server.session.HouseKeeper$Runner.<init>:(Lorg/eclipse/jetty/server/session/HouseKeeper;)V
putfield org.eclipse.jetty.server.session.HouseKeeper._runner:Lorg/eclipse/jetty/server/session/HouseKeeper$Runner;
18: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 20
19: getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
ldc "{} scavenging every {}ms"
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
invokeinterface org.eclipse.jetty.server.SessionIdManager.getWorkerName:()Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
20: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._runner:Lorg/eclipse/jetty/server/session/HouseKeeper$Runner;
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.eclipse.jetty.util.thread.Scheduler.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lorg/eclipse/jetty/util/thread/Scheduler$Task;
putfield org.eclipse.jetty.server.session.HouseKeeper._task:Lorg/eclipse/jetty/util/thread/Scheduler$Task;
21: aload 3
ifnull 27
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
goto 27
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 1
aload 3
ifnull 23
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
23: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 2
aload 1
ifnonnull 25
aload 2
astore 1
goto 26
StackMap locals:
StackMap stack:
25: aload 1
aload 2
if_acmpeq 26
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
26: aload 1
athrow
27: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/eclipse/jetty/server/session/HouseKeeper;
2 23 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
Exception table:
from to target type
2 21 22 any
1 24 24 any
Exceptions:
throws java.lang.Exception
protected void stopScavenging();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._task:Lorg/eclipse/jetty/util/thread/Scheduler$Task;
ifnull 6
3: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._task:Lorg/eclipse/jetty/util/thread/Scheduler$Task;
invokeinterface org.eclipse.jetty.util.thread.Scheduler$Task.cancel:()Z
pop
4: getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 6
5: getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
ldc "{} stopped scavenging"
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
invokeinterface org.eclipse.jetty.server.SessionIdManager.getWorkerName:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
6: StackMap locals: java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.server.session.HouseKeeper._task:Lorg/eclipse/jetty/util/thread/Scheduler$Task;
7: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._ownScheduler:Z
ifeq 11
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
ifnull 11
8: aload 0
iconst_0
putfield org.eclipse.jetty.server.session.HouseKeeper._ownScheduler:Z
9: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
invokeinterface org.eclipse.jetty.util.thread.Scheduler.stop:()V
10: aload 0
aconst_null
putfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.server.session.HouseKeeper._runner:Lorg/eclipse/jetty/server/session/HouseKeeper$Runner;
12: aload 3
ifnull 18
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 1
aload 3
ifnull 14
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
14: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 2
aload 1
ifnonnull 16
aload 2
astore 1
goto 17
StackMap locals:
StackMap stack:
16: aload 1
aload 2
if_acmpeq 17
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 1
athrow
18: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/eclipse/jetty/server/session/HouseKeeper;
2 14 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
Exception table:
from to target type
2 12 13 any
1 15 15 any
Exceptions:
throws java.lang.Exception
protected void doStop();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.stopScavenging:()V
3: aload 0
aconst_null
putfield org.eclipse.jetty.server.session.HouseKeeper._scheduler:Lorg/eclipse/jetty/util/thread/Scheduler;
4: aload 3
ifnull 10
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
goto 10
StackMap locals: org.eclipse.jetty.server.session.HouseKeeper java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
aload 0
invokespecial org.eclipse.jetty.util.component.AbstractLifeCycle.doStop:()V
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/server/session/HouseKeeper;
2 6 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
Exception table:
from to target type
2 4 5 any
1 7 7 any
Exceptions:
throws java.lang.Exception
public void setIntervalSec(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 3
aconst_null
astore 4
1: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 5
start local 5 2: aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.isStarted:()Z
ifne 3
aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.isStarting:()Z
ifeq 18
3: StackMap locals: java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack:
lload 1
lconst_0
lcmp
ifgt 9
4: aload 0
lconst_0
putfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
5: getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 7
6: getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
ldc "{} scavenging disabled"
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
invokeinterface org.eclipse.jetty.server.SessionIdManager.getWorkerName:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.stopScavenging:()V
8: goto 19
9: StackMap locals:
StackMap stack:
lload 1
ldc 10
lcmp
ifge 11
10: getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
ldc "{} short interval of {}sec for session scavenging."
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
invokeinterface org.eclipse.jetty.server.SessionIdManager.getWorkerName:()Ljava/lang/String;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 0
lload 1
ldc 1000
lmul
putfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
12: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
ldc 10
ldiv
lstore 6
start local 6 13: invokestatic java.lang.System.currentTimeMillis:()J
ldc 2
lrem
lconst_0
lcmp
ifne 15
14: aload 0
dup
getfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
lload 6
ladd
putfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
15: StackMap locals: long
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.isStarting:()Z
ifne 16
aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.isStarted:()Z
ifeq 19
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.startScavenging:()V
end local 6 17: goto 19
18: StackMap locals:
StackMap stack:
aload 0
lload 1
ldc 1000
lmul
putfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
19: StackMap locals:
StackMap stack:
aload 5
ifnull 25
aload 5
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 3
aload 5
ifnull 21
aload 5
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 5 StackMap locals:
StackMap stack:
21: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 4
aload 3
ifnonnull 23
aload 4
astore 3
goto 24
StackMap locals:
StackMap stack:
23: aload 3
aload 4
if_acmpeq 24
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
24: aload 3
athrow
25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/eclipse/jetty/server/session/HouseKeeper;
0 26 1 sec J
2 21 5 l Lorg/eclipse/jetty/util/thread/AutoLock;
13 17 6 tenPercent J
Exception table:
from to target type
2 19 20 any
1 22 22 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
sec
public long getIntervalSec();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
ldc 1000
ldiv
3: aload 3
ifnull 4
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
4: StackMap locals: org.eclipse.jetty.server.session.HouseKeeper java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack: long
lreturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
6: aload 3
ifnull 7
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/session/HouseKeeper;
2 7 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedAttribute(value = "secs between scavenge cycles", readonly = true)
public void scavenge();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.isStopping:()Z
ifne 1
aload 0
invokevirtual org.eclipse.jetty.server.session.HouseKeeper.isStopped:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
ldc "{} scavenging sessions"
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
invokeinterface org.eclipse.jetty.server.SessionIdManager.getWorkerName:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._sessionIdManager:Lorg/eclipse/jetty/server/SessionIdManager;
invokeinterface org.eclipse.jetty.server.SessionIdManager.getSessionHandlers:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 11
StackMap locals: org.eclipse.jetty.server.session.HouseKeeper top java.util.Iterator
StackMap stack:
5: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.server.session.SessionHandler
astore 1
start local 1 6: aload 1
ifnull 11
7: aload 1
invokevirtual org.eclipse.jetty.server.session.SessionHandler.scavenge:()V
8: goto 11
9: StackMap locals: org.eclipse.jetty.server.session.HouseKeeper org.eclipse.jetty.server.session.SessionHandler java.util.Iterator
StackMap stack: java.lang.Exception
astore 3
start local 3 10: getstatic org.eclipse.jetty.server.session.HouseKeeper.LOG:Lorg/slf4j/Logger;
ldc "Unable to scavenge"
aload 3
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 end local 1 11: StackMap locals: org.eclipse.jetty.server.session.HouseKeeper top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/server/session/HouseKeeper;
6 11 1 manager Lorg/eclipse/jetty/server/session/SessionHandler;
10 11 3 e Ljava/lang/Exception;
Exception table:
from to target type
7 8 9 Class java.lang.Exception
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: new java.lang.StringBuilder
dup
aload 0
invokespecial org.eclipse.jetty.util.component.AbstractLifeCycle.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[interval="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._intervalMs:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", ownscheduler="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.server.session.HouseKeeper._ownScheduler:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: aload 3
ifnull 4
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
4: StackMap locals: org.eclipse.jetty.server.session.HouseKeeper java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack: java.lang.String
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
6: aload 3
ifnull 7
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/session/HouseKeeper;
2 7 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
}
SourceFile: "HouseKeeper.java"
NestMembers:
org.eclipse.jetty.server.session.HouseKeeper$Runner
InnerClasses:
protected Runner = org.eclipse.jetty.server.session.HouseKeeper$Runner of org.eclipse.jetty.server.session.HouseKeeper
public abstract Task = org.eclipse.jetty.util.thread.Scheduler$Task of org.eclipse.jetty.util.thread.Scheduler
RuntimeVisibleAnnotations:
org.eclipse.jetty.util.annotation.ManagedObject()