final class jdk.jfr.internal.instrument.FileOutputStreamInstrumentor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.instrument.FileOutputStreamInstrumentor
super_class: java.lang.Object
{
private java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/instrument/FileOutputStreamInstrumentor;
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic jdk.jfr.events.FileWriteEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.FileWriteEvent
astore 2
start local 2 1: aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.isEnabled:()Z
ifne 4
2: aload 0
iload 1
invokevirtual jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.write:(I)V
3: return
4: StackMap locals: jdk.jfr.events.FileWriteEvent
StackMap stack:
aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.begin:()V
5: aload 0
iload 1
invokevirtual jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.write:(I)V
6: aload 2
lconst_1
putfield jdk.jfr.events.FileWriteEvent.bytesWritten:J
7: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 3
9: aload 2
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileWriteEvent.path:Ljava/lang/String;
10: aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.commit:()V
11: aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.reset:()V
12: aload 3
athrow
13: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileWriteEvent.path:Ljava/lang/String;
14: aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.commit:()V
15: aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.reset:()V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/jfr/internal/instrument/FileOutputStreamInstrumentor;
0 17 1 b I
1 17 2 event Ljdk/jfr/events/FileWriteEvent;
Exception table:
from to target type
4 8 8 any
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationMethod()
MethodParameters:
Name Flags
b
public void write(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic jdk.jfr.events.FileWriteEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.FileWriteEvent
astore 2
start local 2 1: aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.isEnabled:()Z
ifne 4
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.write:([B)V
3: return
4: StackMap locals: jdk.jfr.events.FileWriteEvent
StackMap stack:
aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.begin:()V
5: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.write:([B)V
6: aload 2
aload 1
arraylength
i2l
putfield jdk.jfr.events.FileWriteEvent.bytesWritten:J
7: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 3
9: aload 2
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileWriteEvent.path:Ljava/lang/String;
10: aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.commit:()V
11: aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.reset:()V
12: aload 3
athrow
13: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileWriteEvent.path:Ljava/lang/String;
14: aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.commit:()V
15: aload 2
invokevirtual jdk.jfr.events.FileWriteEvent.reset:()V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/jfr/internal/instrument/FileOutputStreamInstrumentor;
0 17 1 b [B
1 17 2 event Ljdk/jfr/events/FileWriteEvent;
Exception table:
from to target type
4 8 8 any
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationMethod()
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.jfr.events.FileWriteEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.FileWriteEvent
astore 4
start local 4 1: aload 4
invokevirtual jdk.jfr.events.FileWriteEvent.isEnabled:()Z
ifne 4
2: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.write:([BII)V
3: return
4: StackMap locals: jdk.jfr.events.FileWriteEvent
StackMap stack:
aload 4
invokevirtual jdk.jfr.events.FileWriteEvent.begin:()V
5: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.write:([BII)V
6: aload 4
iload 3
i2l
putfield jdk.jfr.events.FileWriteEvent.bytesWritten:J
7: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 5
9: aload 4
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileWriteEvent.path:Ljava/lang/String;
10: aload 4
invokevirtual jdk.jfr.events.FileWriteEvent.commit:()V
11: aload 4
invokevirtual jdk.jfr.events.FileWriteEvent.reset:()V
12: aload 5
athrow
13: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileWriteEvent.path:Ljava/lang/String;
14: aload 4
invokevirtual jdk.jfr.events.FileWriteEvent.commit:()V
15: aload 4
invokevirtual jdk.jfr.events.FileWriteEvent.reset:()V
16: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/jfr/internal/instrument/FileOutputStreamInstrumentor;
0 17 1 b [B
0 17 2 off I
0 17 3 len I
1 17 4 event Ljdk/jfr/events/FileWriteEvent;
Exception table:
from to target type
4 8 8 any
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationMethod()
MethodParameters:
Name Flags
b
off
len
}
SourceFile: "FileOutputStreamInstrumentor.java"
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationTarget(value = "java.io.FileOutputStream")