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=8, locals=10, args_size=2
start local 0 start local 1 0: getstatic jdk.jfr.events.Handlers.FILE_WRITE:Ljdk/jfr/internal/handlers/EventHandler;
astore 2
start local 2 1: aload 2
invokevirtual jdk.jfr.internal.handlers.EventHandler.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.internal.handlers.EventHandler
StackMap stack:
lconst_0
lstore 3
start local 3 5: lconst_0
lstore 5
start local 5 6: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lstore 5
7: aload 0
iload 1
invokevirtual jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.write:(I)V
8: lconst_1
lstore 3
9: goto 15
StackMap locals: jdk.jfr.internal.instrument.FileOutputStreamInstrumentor int jdk.jfr.internal.handlers.EventHandler long long
StackMap stack: java.lang.Throwable
10: astore 7
11: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 5
lsub
lstore 8
start local 8 12: aload 2
lload 8
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 14
13: aload 2
lload 5
lload 8
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
lload 3
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;J)V
end local 8 14: StackMap locals: java.lang.Throwable
StackMap stack:
aload 7
athrow
15: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 5
lsub
lstore 8
start local 8 16: aload 2
lload 8
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 18
17: aload 2
lload 5
lload 8
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
lload 3
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;J)V
end local 8 18: StackMap locals:
StackMap stack:
return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/jfr/internal/instrument/FileOutputStreamInstrumentor;
0 19 1 b I
1 19 2 handler Ljdk/jfr/internal/handlers/EventHandler;
5 19 3 bytesWritten J
6 19 5 start J
12 14 8 duration J
16 18 8 duration J
Exception table:
from to target type
6 10 10 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=8, locals=10, args_size=2
start local 0 start local 1 0: getstatic jdk.jfr.events.Handlers.FILE_WRITE:Ljdk/jfr/internal/handlers/EventHandler;
astore 2
start local 2 1: aload 2
invokevirtual jdk.jfr.internal.handlers.EventHandler.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.internal.handlers.EventHandler
StackMap stack:
lconst_0
lstore 3
start local 3 5: lconst_0
lstore 5
start local 5 6: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lstore 5
7: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.write:([B)V
8: aload 1
arraylength
i2l
lstore 3
9: goto 15
StackMap locals: jdk.jfr.internal.instrument.FileOutputStreamInstrumentor byte[] jdk.jfr.internal.handlers.EventHandler long long
StackMap stack: java.lang.Throwable
10: astore 7
11: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 5
lsub
lstore 8
start local 8 12: aload 2
lload 8
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 14
13: aload 2
lload 5
lload 8
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
lload 3
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;J)V
end local 8 14: StackMap locals: java.lang.Throwable
StackMap stack:
aload 7
athrow
15: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 5
lsub
lstore 8
start local 8 16: aload 2
lload 8
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 18
17: aload 2
lload 5
lload 8
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
lload 3
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;J)V
end local 8 18: StackMap locals:
StackMap stack:
return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/jfr/internal/instrument/FileOutputStreamInstrumentor;
0 19 1 b [B
1 19 2 handler Ljdk/jfr/internal/handlers/EventHandler;
5 19 3 bytesWritten J
6 19 5 start J
12 14 8 duration J
16 18 8 duration J
Exception table:
from to target type
6 10 10 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=8, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.jfr.events.Handlers.FILE_WRITE:Ljdk/jfr/internal/handlers/EventHandler;
astore 4
start local 4 1: aload 4
invokevirtual jdk.jfr.internal.handlers.EventHandler.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.internal.handlers.EventHandler
StackMap stack:
lconst_0
lstore 5
start local 5 5: lconst_0
lstore 7
start local 7 6: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lstore 7
7: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.write:([BII)V
8: iload 3
i2l
lstore 5
9: goto 15
StackMap locals: jdk.jfr.internal.instrument.FileOutputStreamInstrumentor byte[] int int jdk.jfr.internal.handlers.EventHandler long long
StackMap stack: java.lang.Throwable
10: astore 9
11: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 7
lsub
lstore 10
start local 10 12: aload 4
lload 10
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 14
13: aload 4
lload 7
lload 10
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
lload 5
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;J)V
end local 10 14: StackMap locals: java.lang.Throwable
StackMap stack:
aload 9
athrow
15: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 7
lsub
lstore 10
start local 10 16: aload 4
lload 10
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 18
17: aload 4
lload 7
lload 10
aload 0
getfield jdk.jfr.internal.instrument.FileOutputStreamInstrumentor.path:Ljava/lang/String;
lload 5
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;J)V
end local 10 18: StackMap locals:
StackMap stack:
return
end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/jfr/internal/instrument/FileOutputStreamInstrumentor;
0 19 1 b [B
0 19 2 off I
0 19 3 len I
1 19 4 handler Ljdk/jfr/internal/handlers/EventHandler;
5 19 5 bytesWritten J
6 19 7 start J
12 14 10 duration J
16 18 10 duration J
Exception table:
from to target type
6 10 10 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")