final class jdk.jfr.internal.instrument.SocketInputStreamInstrumentor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.instrument.SocketInputStreamInstrumentor
super_class: java.lang.Object
{
private java.net.Socket parent;
descriptor: Ljava/net/Socket;
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/SocketInputStreamInstrumentor;
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.jfr.events.Handlers.SOCKET_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.SocketInputStreamInstrumentor.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.SocketInputStreamInstrumentor.read:([BII)I
istore 5
7: goto 21
StackMap locals: jdk.jfr.internal.instrument.SocketInputStreamInstrumentor 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 20
11: aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getInetAddress:()Ljava/net/InetAddress;
astore 11
start local 11 12: aload 11
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
astore 12
start local 12 13: aload 11
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 13
start local 13 14: aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getPort:()I
istore 14
start local 14 15: aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getSoTimeout:()I
istore 15
start local 15 16: iload 5
ifge 19
17: aload 4
lload 6
lload 9
aload 12
aload 13
iload 14
iload 15
i2l
lconst_0
iconst_1
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;Ljava/lang/String;IJJZ)V
18: goto 20
19: StackMap locals: jdk.jfr.internal.instrument.SocketInputStreamInstrumentor byte[] int int jdk.jfr.internal.handlers.EventHandler int long java.lang.Throwable long java.net.InetAddress java.lang.String java.lang.String int int
StackMap stack:
aload 4
lload 6
lload 9
aload 12
aload 13
iload 14
iload 15
i2l
iload 5
i2l
iconst_0
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;Ljava/lang/String;IJJZ)V
end local 15 end local 14 end local 13 end local 12 end local 11 end local 9 20: StackMap locals: jdk.jfr.internal.instrument.SocketInputStreamInstrumentor byte[] int int jdk.jfr.internal.handlers.EventHandler int long java.lang.Throwable
StackMap stack:
aload 8
athrow
21: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 6
lsub
lstore 9
start local 9 22: aload 4
lload 9
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 32
23: aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getInetAddress:()Ljava/net/InetAddress;
astore 11
start local 11 24: aload 11
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
astore 12
start local 12 25: aload 11
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 13
start local 13 26: aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getPort:()I
istore 14
start local 14 27: aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getSoTimeout:()I
istore 15
start local 15 28: iload 5
ifge 31
29: aload 4
lload 6
lload 9
aload 12
aload 13
iload 14
iload 15
i2l
lconst_0
iconst_1
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;Ljava/lang/String;IJJZ)V
30: goto 32
31: StackMap locals: jdk.jfr.internal.instrument.SocketInputStreamInstrumentor byte[] int int jdk.jfr.internal.handlers.EventHandler int long top long java.net.InetAddress java.lang.String java.lang.String int int
StackMap stack:
aload 4
lload 6
lload 9
aload 12
aload 13
iload 14
iload 15
i2l
iload 5
i2l
iconst_0
invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;Ljava/lang/String;IJJZ)V
end local 15 end local 14 end local 13 end local 12 end local 11 end local 9 32: StackMap locals: jdk.jfr.internal.instrument.SocketInputStreamInstrumentor 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 33 0 this Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor;
0 33 1 b [B
0 33 2 off I
0 33 3 length I
1 33 4 handler Ljdk/jfr/internal/handlers/EventHandler;
4 33 5 bytesRead I
5 33 6 start J
10 20 9 duration J
22 32 9 duration J
12 20 11 remote Ljava/net/InetAddress;
24 32 11 remote Ljava/net/InetAddress;
13 20 12 host Ljava/lang/String;
25 32 12 host Ljava/lang/String;
14 20 13 address Ljava/lang/String;
26 32 13 address Ljava/lang/String;
15 20 14 port I
27 32 14 port I
16 20 15 timeout I
28 32 15 timeout I
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
length
}
SourceFile: "SocketInputStreamInstrumentor.java"
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationTarget(value = "java.net.Socket$SocketInputStream")