final class jdk.jfr.internal.instrument.RandomAccessFileInstrumentor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor
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/RandomAccessFileInstrumentor;
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: getstatic jdk.jfr.events.FileReadEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.FileReadEvent
astore 1
start local 1 1: aload 1
invokevirtual jdk.jfr.events.FileReadEvent.isEnabled:()Z
ifne 3
2: aload 0
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:()I
ireturn
3: StackMap locals: jdk.jfr.events.FileReadEvent
StackMap stack:
iconst_0
istore 2
start local 2 4: aload 1
invokevirtual jdk.jfr.events.FileReadEvent.begin:()V
5: aload 0
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:()I
istore 2
6: iload 2
ifge 9
7: aload 1
iconst_1
putfield jdk.jfr.events.FileReadEvent.endOfFile:Z
8: goto 16
9: StackMap locals: int
StackMap stack:
aload 1
lconst_1
putfield jdk.jfr.events.FileReadEvent.bytesRead:J
10: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
12: aload 1
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileReadEvent.path:Ljava/lang/String;
13: aload 1
invokevirtual jdk.jfr.events.FileReadEvent.commit:()V
14: aload 1
invokevirtual jdk.jfr.events.FileReadEvent.reset:()V
15: aload 3
athrow
16: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileReadEvent.path:Ljava/lang/String;
17: aload 1
invokevirtual jdk.jfr.events.FileReadEvent.commit:()V
18: aload 1
invokevirtual jdk.jfr.events.FileReadEvent.reset:()V
19: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/jfr/internal/instrument/RandomAccessFileInstrumentor;
1 20 1 event Ljdk/jfr/events/FileReadEvent;
4 20 2 result I
Exception table:
from to target type
4 11 11 any
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationMethod()
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: getstatic jdk.jfr.events.FileReadEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.FileReadEvent
astore 2
start local 2 1: aload 2
invokevirtual jdk.jfr.events.FileReadEvent.isEnabled:()Z
ifne 3
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:([B)I
ireturn
3: StackMap locals: jdk.jfr.events.FileReadEvent
StackMap stack:
iconst_0
istore 3
start local 3 4: aload 2
invokevirtual jdk.jfr.events.FileReadEvent.begin:()V
5: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:([B)I
istore 3
6: goto 16
StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor byte[] jdk.jfr.events.FileReadEvent int
StackMap stack: java.lang.Throwable
7: astore 4
8: iload 3
ifge 11
9: aload 2
iconst_1
putfield jdk.jfr.events.FileReadEvent.endOfFile:Z
10: goto 12
11: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
iload 3
i2l
putfield jdk.jfr.events.FileReadEvent.bytesRead:J
12: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileReadEvent.path:Ljava/lang/String;
13: aload 2
invokevirtual jdk.jfr.events.FileReadEvent.commit:()V
14: aload 2
invokevirtual jdk.jfr.events.FileReadEvent.reset:()V
15: aload 4
athrow
16: StackMap locals:
StackMap stack:
iload 3
ifge 19
17: aload 2
iconst_1
putfield jdk.jfr.events.FileReadEvent.endOfFile:Z
18: goto 20
19: StackMap locals:
StackMap stack:
aload 2
iload 3
i2l
putfield jdk.jfr.events.FileReadEvent.bytesRead:J
20: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileReadEvent.path:Ljava/lang/String;
21: aload 2
invokevirtual jdk.jfr.events.FileReadEvent.commit:()V
22: aload 2
invokevirtual jdk.jfr.events.FileReadEvent.reset:()V
23: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljdk/jfr/internal/instrument/RandomAccessFileInstrumentor;
0 24 1 b [B
1 24 2 event Ljdk/jfr/events/FileReadEvent;
4 24 3 bytesRead I
Exception table:
from to target type
4 7 7 any
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationMethod()
MethodParameters:
Name Flags
b
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.jfr.events.FileReadEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.FileReadEvent
astore 4
start local 4 1: aload 4
invokevirtual jdk.jfr.events.FileReadEvent.isEnabled:()Z
ifne 3
2: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:([BII)I
ireturn
3: StackMap locals: jdk.jfr.events.FileReadEvent
StackMap stack:
iconst_0
istore 5
start local 5 4: aload 4
invokevirtual jdk.jfr.events.FileReadEvent.begin:()V
5: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:([BII)I
istore 5
6: goto 16
StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor byte[] int int jdk.jfr.events.FileReadEvent int
StackMap stack: java.lang.Throwable
7: astore 6
8: iload 5
ifge 11
9: aload 4
iconst_1
putfield jdk.jfr.events.FileReadEvent.endOfFile:Z
10: goto 12
11: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
iload 5
i2l
putfield jdk.jfr.events.FileReadEvent.bytesRead:J
12: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileReadEvent.path:Ljava/lang/String;
13: aload 4
invokevirtual jdk.jfr.events.FileReadEvent.commit:()V
14: aload 4
invokevirtual jdk.jfr.events.FileReadEvent.reset:()V
15: aload 6
athrow
16: StackMap locals:
StackMap stack:
iload 5
ifge 19
17: aload 4
iconst_1
putfield jdk.jfr.events.FileReadEvent.endOfFile:Z
18: goto 20
19: StackMap locals:
StackMap stack:
aload 4
iload 5
i2l
putfield jdk.jfr.events.FileReadEvent.bytesRead:J
20: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
putfield jdk.jfr.events.FileReadEvent.path:Ljava/lang/String;
21: aload 4
invokevirtual jdk.jfr.events.FileReadEvent.commit:()V
22: aload 4
invokevirtual jdk.jfr.events.FileReadEvent.reset:()V
23: iload 5
ireturn
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 24 0 this Ljdk/jfr/internal/instrument/RandomAccessFileInstrumentor;
0 24 1 b [B
0 24 2 off I
0 24 3 len I
1 24 4 event Ljdk/jfr/events/FileReadEvent;
4 24 5 bytesRead I
Exception table:
from to target type
4 7 7 any
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationMethod()
MethodParameters:
Name Flags
b
off
len
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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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/RandomAccessFileInstrumentor;
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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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/RandomAccessFileInstrumentor;
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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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/RandomAccessFileInstrumentor;
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: "RandomAccessFileInstrumentor.java"
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationTarget(value = "java.io.RandomAccessFile")