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=9, locals=11, args_size=1
start local 0 0: getstatic jdk.jfr.events.Handlers.FILE_READ:Ljdk/jfr/internal/handlers/EventHandler;
astore 1
start local 1 1: aload 1
invokevirtual jdk.jfr.internal.handlers.EventHandler.isEnabled:()Z
ifne 3
2: aload 0
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:()I
ireturn
3: StackMap locals: jdk.jfr.internal.handlers.EventHandler
StackMap stack:
iconst_0
istore 2
start local 2 4: lconst_0
lstore 3
start local 3 5: iconst_0
istore 5
start local 5 6: lconst_0
lstore 6
start local 6 7: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lstore 6
8: aload 0
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:()I
istore 2
9: iload 2
ifge 12
10: iconst_1
istore 5
11: goto 19
12: StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor jdk.jfr.internal.handlers.EventHandler int long int long
StackMap stack:
lconst_1
lstore 3
13: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 8
15: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 6
lsub
lstore 9
start local 9 16: aload 1
lload 9
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 18
17: aload 1
lload 6
lload 9
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
lload 3
iload 5
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;JZ)V
end local 9 18: StackMap locals: java.lang.Throwable
StackMap stack:
aload 8
athrow
19: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 6
lsub
lstore 9
start local 9 20: aload 1
lload 9
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 22
21: aload 1
lload 6
lload 9
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
lload 3
iload 5
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;JZ)V
end local 9 22: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/jfr/internal/instrument/RandomAccessFileInstrumentor;
1 23 1 handler Ljdk/jfr/internal/handlers/EventHandler;
4 23 2 result I
5 23 3 bytesRead J
6 23 5 endOfFile Z
7 23 6 start J
16 18 9 duration J
20 22 9 duration J
Exception table:
from to target type
7 14 14 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=9, locals=9, args_size=2
start local 0 start local 1 0: getstatic jdk.jfr.events.Handlers.FILE_READ:Ljdk/jfr/internal/handlers/EventHandler;
astore 2
start local 2 1: aload 2
invokevirtual jdk.jfr.internal.handlers.EventHandler.isEnabled:()Z
ifne 3
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:([B)I
ireturn
3: StackMap locals: jdk.jfr.internal.handlers.EventHandler
StackMap stack:
iconst_0
istore 3
start local 3 4: lconst_0
lstore 4
start local 4 5: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lstore 4
6: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:([B)I
istore 3
7: goto 16
StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor byte[] jdk.jfr.internal.handlers.EventHandler int long
StackMap stack: java.lang.Throwable
8: astore 6
9: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 4
lsub
lstore 7
start local 7 10: aload 2
lload 7
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 15
11: iload 3
ifge 14
12: aload 2
lload 4
lload 7
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
lconst_0
iconst_1
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;JZ)V
13: goto 15
14: StackMap locals: java.lang.Throwable long
StackMap stack:
aload 2
lload 4
lload 7
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
iload 3
i2l
iconst_0
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;JZ)V
end local 7 15: StackMap locals:
StackMap stack:
aload 6
athrow
16: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 4
lsub
lstore 7
start local 7 17: aload 2
lload 7
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 22
18: iload 3
ifge 21
19: aload 2
lload 4
lload 7
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
lconst_0
iconst_1
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;JZ)V
20: goto 22
21: StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor byte[] jdk.jfr.internal.handlers.EventHandler int long top long
StackMap stack:
aload 2
lload 4
lload 7
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
iload 3
i2l
iconst_0
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;JZ)V
end local 7 22: StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor byte[] jdk.jfr.internal.handlers.EventHandler int long
StackMap stack:
iload 3
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/jfr/internal/instrument/RandomAccessFileInstrumentor;
0 23 1 b [B
1 23 2 handler Ljdk/jfr/internal/handlers/EventHandler;
4 23 3 bytesRead I
5 23 4 start J
10 15 7 duration J
17 22 7 duration J
Exception table:
from to target type
5 8 8 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=9, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.jfr.events.Handlers.FILE_READ:Ljdk/jfr/internal/handlers/EventHandler;
astore 4
start local 4 1: aload 4
invokevirtual jdk.jfr.internal.handlers.EventHandler.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.internal.handlers.EventHandler
StackMap stack:
iconst_0
istore 5
start local 5 4: lconst_0
lstore 6
start local 6 5: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lstore 6
6: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.read:([BII)I
istore 5
7: goto 16
StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor byte[] int int jdk.jfr.internal.handlers.EventHandler int long
StackMap stack: java.lang.Throwable
8: astore 8
9: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 6
lsub
lstore 9
start local 9 10: aload 4
lload 9
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 15
11: iload 5
ifge 14
12: aload 4
lload 6
lload 9
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
lconst_0
iconst_1
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;JZ)V
13: goto 15
14: StackMap locals: java.lang.Throwable long
StackMap stack:
aload 4
lload 6
lload 9
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
iload 5
i2l
iconst_0
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;JZ)V
end local 9 15: StackMap locals:
StackMap stack:
aload 8
athrow
16: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 6
lsub
lstore 9
start local 9 17: aload 4
lload 9
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 22
18: iload 5
ifge 21
19: aload 4
lload 6
lload 9
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
lconst_0
iconst_1
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;JZ)V
20: goto 22
21: StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor byte[] int int jdk.jfr.internal.handlers.EventHandler int long top long
StackMap stack:
aload 4
lload 6
lload 9
aload 0
getfield jdk.jfr.internal.instrument.RandomAccessFileInstrumentor.path:Ljava/lang/String;
iload 5
i2l
iconst_0
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;JZ)V
end local 9 22: StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor byte[] int int jdk.jfr.internal.handlers.EventHandler int long
StackMap stack:
iload 5
ireturn
end local 6 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 23 0 this Ljdk/jfr/internal/instrument/RandomAccessFileInstrumentor;
0 23 1 b [B
0 23 2 off I
0 23 3 len I
1 23 4 handler Ljdk/jfr/internal/handlers/EventHandler;
4 23 5 bytesRead I
5 23 6 start J
10 15 9 duration J
17 22 9 duration J
Exception table:
from to target type
5 8 8 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=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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.write:(I)V
8: lconst_1
lstore 3
9: goto 15
StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor 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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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/RandomAccessFileInstrumentor;
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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.write:([B)V
8: aload 1
arraylength
i2l
lstore 3
9: goto 15
StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor 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
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.RandomAccessFileInstrumentor.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
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.RandomAccessFileInstrumentor.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/RandomAccessFileInstrumentor;
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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.write:([BII)V
8: iload 3
i2l
lstore 5
9: goto 15
StackMap locals: jdk.jfr.internal.instrument.RandomAccessFileInstrumentor 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.RandomAccessFileInstrumentor.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.RandomAccessFileInstrumentor.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/RandomAccessFileInstrumentor;
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: "RandomAccessFileInstrumentor.java"
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationTarget(value = "java.io.RandomAccessFile")