public class ch.qos.logback.core.net.AutoFlushingObjectWriter implements ch.qos.logback.core.net.ObjectWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.net.AutoFlushingObjectWriter
super_class: java.lang.Object
{
private final java.io.ObjectOutputStream objectOutputStream;
descriptor: Ljava/io/ObjectOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int resetFrequency;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int writeCounter;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.ObjectOutputStream, int);
descriptor: (Ljava/io/ObjectOutputStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield ch.qos.logback.core.net.AutoFlushingObjectWriter.writeCounter:I
2: aload 0
aload 1
putfield ch.qos.logback.core.net.AutoFlushingObjectWriter.objectOutputStream:Ljava/io/ObjectOutputStream;
3: aload 0
iload 2
putfield ch.qos.logback.core.net.AutoFlushingObjectWriter.resetFrequency:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lch/qos/logback/core/net/AutoFlushingObjectWriter;
0 5 1 objectOutputStream Ljava/io/ObjectOutputStream;
0 5 2 resetFrequency I
MethodParameters:
Name Flags
objectOutputStream
resetFrequency
public void write(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.core.net.AutoFlushingObjectWriter.objectOutputStream:Ljava/io/ObjectOutputStream;
aload 1
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
1: aload 0
getfield ch.qos.logback.core.net.AutoFlushingObjectWriter.objectOutputStream:Ljava/io/ObjectOutputStream;
invokevirtual java.io.ObjectOutputStream.flush:()V
2: aload 0
invokevirtual ch.qos.logback.core.net.AutoFlushingObjectWriter.preventMemoryLeak:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/net/AutoFlushingObjectWriter;
0 4 1 object Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
object
private void preventMemoryLeak();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield ch.qos.logback.core.net.AutoFlushingObjectWriter.writeCounter:I
iconst_1
iadd
dup_x1
putfield ch.qos.logback.core.net.AutoFlushingObjectWriter.writeCounter:I
aload 0
getfield ch.qos.logback.core.net.AutoFlushingObjectWriter.resetFrequency:I
if_icmplt 3
1: aload 0
getfield ch.qos.logback.core.net.AutoFlushingObjectWriter.objectOutputStream:Ljava/io/ObjectOutputStream;
invokevirtual java.io.ObjectOutputStream.reset:()V
2: aload 0
iconst_0
putfield ch.qos.logback.core.net.AutoFlushingObjectWriter.writeCounter:I
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/core/net/AutoFlushingObjectWriter;
Exceptions:
throws java.io.IOException
}
SourceFile: "AutoFlushingObjectWriter.java"