final class jdk.jfr.internal.instrument.SocketChannelImplInstrumentor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor
super_class: java.lang.Object
{
private java.net.InetSocketAddress remoteAddress;
descriptor: Ljava/net/InetSocketAddress;
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/SocketChannelImplInstrumentor;
public int read(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: getstatic jdk.jfr.events.SocketReadEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.SocketReadEvent
astore 2
start local 2 1: aload 2
invokevirtual jdk.jfr.events.SocketReadEvent.isEnabled:()Z
ifne 3
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.read:(Ljava/nio/ByteBuffer;)I
ireturn
3: StackMap locals: jdk.jfr.events.SocketReadEvent
StackMap stack:
iconst_0
istore 3
start local 3 4: aload 2
invokevirtual jdk.jfr.events.SocketReadEvent.begin:()V
5: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.read:(Ljava/nio/ByteBuffer;)I
istore 3
6: goto 23
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer jdk.jfr.events.SocketReadEvent int
StackMap stack: java.lang.Throwable
7: astore 4
8: aload 2
invokevirtual jdk.jfr.events.SocketReadEvent.end:()V
9: aload 2
invokevirtual jdk.jfr.events.SocketReadEvent.shouldCommit:()Z
ifeq 22
10: aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
astore 5
start local 5 11: aload 5
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 6
start local 6 12: aload 2
aload 5
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield jdk.jfr.events.SocketReadEvent.host:Ljava/lang/String;
13: aload 2
aload 5
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.jfr.events.SocketReadEvent.address:Ljava/lang/String;
14: aload 2
aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield jdk.jfr.events.SocketReadEvent.port:I
15: iload 3
ifge 18
16: aload 2
iconst_1
putfield jdk.jfr.events.SocketReadEvent.endOfStream:Z
17: goto 19
18: StackMap locals: java.lang.Throwable java.lang.String int
StackMap stack:
aload 2
iload 3
i2l
putfield jdk.jfr.events.SocketReadEvent.bytesRead:J
19: StackMap locals:
StackMap stack:
aload 2
lconst_0
putfield jdk.jfr.events.SocketReadEvent.timeout:J
20: aload 2
invokevirtual jdk.jfr.events.SocketReadEvent.commit:()V
21: aload 2
invokevirtual jdk.jfr.events.SocketReadEvent.reset:()V
end local 6 end local 5 22: StackMap locals:
StackMap stack:
aload 4
athrow
23: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.jfr.events.SocketReadEvent.end:()V
24: aload 2
invokevirtual jdk.jfr.events.SocketReadEvent.shouldCommit:()Z
ifeq 37
25: aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
astore 5
start local 5 26: aload 5
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 6
start local 6 27: aload 2
aload 5
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield jdk.jfr.events.SocketReadEvent.host:Ljava/lang/String;
28: aload 2
aload 5
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.jfr.events.SocketReadEvent.address:Ljava/lang/String;
29: aload 2
aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield jdk.jfr.events.SocketReadEvent.port:I
30: iload 3
ifge 33
31: aload 2
iconst_1
putfield jdk.jfr.events.SocketReadEvent.endOfStream:Z
32: goto 34
33: StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer jdk.jfr.events.SocketReadEvent int top java.lang.String int
StackMap stack:
aload 2
iload 3
i2l
putfield jdk.jfr.events.SocketReadEvent.bytesRead:J
34: StackMap locals:
StackMap stack:
aload 2
lconst_0
putfield jdk.jfr.events.SocketReadEvent.timeout:J
35: aload 2
invokevirtual jdk.jfr.events.SocketReadEvent.commit:()V
36: aload 2
invokevirtual jdk.jfr.events.SocketReadEvent.reset:()V
end local 6 end local 5 37: StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer jdk.jfr.events.SocketReadEvent int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Ljdk/jfr/internal/instrument/SocketChannelImplInstrumentor;
0 38 1 dst Ljava/nio/ByteBuffer;
1 38 2 event Ljdk/jfr/events/SocketReadEvent;
4 38 3 bytesRead I
11 22 5 hostString Ljava/lang/String;
26 37 5 hostString Ljava/lang/String;
12 22 6 delimiterIndex I
27 37 6 delimiterIndex 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
dst
public long read(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.jfr.events.SocketReadEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.SocketReadEvent
astore 4
start local 4 1: aload 4
invokevirtual jdk.jfr.events.SocketReadEvent.isEnabled:()Z
ifne 3
2: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.read:([Ljava/nio/ByteBuffer;II)J
lreturn
3: StackMap locals: jdk.jfr.events.SocketReadEvent
StackMap stack:
lconst_0
lstore 5
start local 5 4: aload 4
invokevirtual jdk.jfr.events.SocketReadEvent.begin:()V
5: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.read:([Ljava/nio/ByteBuffer;II)J
lstore 5
6: goto 23
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer[] int int jdk.jfr.events.SocketReadEvent long
StackMap stack: java.lang.Throwable
7: astore 7
8: aload 4
invokevirtual jdk.jfr.events.SocketReadEvent.end:()V
9: aload 4
invokevirtual jdk.jfr.events.SocketReadEvent.shouldCommit:()Z
ifeq 22
10: aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
astore 8
start local 8 11: aload 8
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 9
start local 9 12: aload 4
aload 8
iconst_0
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield jdk.jfr.events.SocketReadEvent.host:Ljava/lang/String;
13: aload 4
aload 8
iload 9
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.jfr.events.SocketReadEvent.address:Ljava/lang/String;
14: aload 4
aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield jdk.jfr.events.SocketReadEvent.port:I
15: lload 5
lconst_0
lcmp
ifge 18
16: aload 4
iconst_1
putfield jdk.jfr.events.SocketReadEvent.endOfStream:Z
17: goto 19
18: StackMap locals: java.lang.Throwable java.lang.String int
StackMap stack:
aload 4
lload 5
putfield jdk.jfr.events.SocketReadEvent.bytesRead:J
19: StackMap locals:
StackMap stack:
aload 4
lconst_0
putfield jdk.jfr.events.SocketReadEvent.timeout:J
20: aload 4
invokevirtual jdk.jfr.events.SocketReadEvent.commit:()V
21: aload 4
invokevirtual jdk.jfr.events.SocketReadEvent.reset:()V
end local 9 end local 8 22: StackMap locals:
StackMap stack:
aload 7
athrow
23: StackMap locals:
StackMap stack:
aload 4
invokevirtual jdk.jfr.events.SocketReadEvent.end:()V
24: aload 4
invokevirtual jdk.jfr.events.SocketReadEvent.shouldCommit:()Z
ifeq 37
25: aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
astore 8
start local 8 26: aload 8
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 9
start local 9 27: aload 4
aload 8
iconst_0
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield jdk.jfr.events.SocketReadEvent.host:Ljava/lang/String;
28: aload 4
aload 8
iload 9
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.jfr.events.SocketReadEvent.address:Ljava/lang/String;
29: aload 4
aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield jdk.jfr.events.SocketReadEvent.port:I
30: lload 5
lconst_0
lcmp
ifge 33
31: aload 4
iconst_1
putfield jdk.jfr.events.SocketReadEvent.endOfStream:Z
32: goto 34
33: StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer[] int int jdk.jfr.events.SocketReadEvent long top java.lang.String int
StackMap stack:
aload 4
lload 5
putfield jdk.jfr.events.SocketReadEvent.bytesRead:J
34: StackMap locals:
StackMap stack:
aload 4
lconst_0
putfield jdk.jfr.events.SocketReadEvent.timeout:J
35: aload 4
invokevirtual jdk.jfr.events.SocketReadEvent.commit:()V
36: aload 4
invokevirtual jdk.jfr.events.SocketReadEvent.reset:()V
end local 9 end local 8 37: StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer[] int int jdk.jfr.events.SocketReadEvent long
StackMap stack:
lload 5
lreturn
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 38 0 this Ljdk/jfr/internal/instrument/SocketChannelImplInstrumentor;
0 38 1 dsts [Ljava/nio/ByteBuffer;
0 38 2 offset I
0 38 3 length I
1 38 4 event Ljdk/jfr/events/SocketReadEvent;
4 38 5 bytesRead J
11 22 8 hostString Ljava/lang/String;
26 37 8 hostString Ljava/lang/String;
12 22 9 delimiterIndex I
27 37 9 delimiterIndex 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
dsts
offset
length
public int write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: getstatic jdk.jfr.events.SocketWriteEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.SocketWriteEvent
astore 2
start local 2 1: aload 2
invokevirtual jdk.jfr.events.SocketWriteEvent.isEnabled:()Z
ifne 3
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.write:(Ljava/nio/ByteBuffer;)I
ireturn
3: StackMap locals: jdk.jfr.events.SocketWriteEvent
StackMap stack:
iconst_0
istore 3
start local 3 4: aload 2
invokevirtual jdk.jfr.events.SocketWriteEvent.begin:()V
5: aload 0
aload 1
invokevirtual jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.write:(Ljava/nio/ByteBuffer;)I
istore 3
6: goto 21
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer jdk.jfr.events.SocketWriteEvent int
StackMap stack: java.lang.Throwable
7: astore 4
8: aload 2
invokevirtual jdk.jfr.events.SocketWriteEvent.end:()V
9: aload 2
invokevirtual jdk.jfr.events.SocketWriteEvent.shouldCommit:()Z
ifeq 20
10: aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
astore 5
start local 5 11: aload 5
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 6
start local 6 12: aload 2
aload 5
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.host:Ljava/lang/String;
13: aload 2
aload 5
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.address:Ljava/lang/String;
14: aload 2
aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield jdk.jfr.events.SocketWriteEvent.port:I
15: aload 2
iload 3
ifge 16
iconst_0
goto 17
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer jdk.jfr.events.SocketWriteEvent int java.lang.Throwable java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent
16: iload 3
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer jdk.jfr.events.SocketWriteEvent int java.lang.Throwable java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent int
17: i2l
putfield jdk.jfr.events.SocketWriteEvent.bytesWritten:J
18: aload 2
invokevirtual jdk.jfr.events.SocketWriteEvent.commit:()V
19: aload 2
invokevirtual jdk.jfr.events.SocketWriteEvent.reset:()V
end local 6 end local 5 20: StackMap locals:
StackMap stack:
aload 4
athrow
21: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.jfr.events.SocketWriteEvent.end:()V
22: aload 2
invokevirtual jdk.jfr.events.SocketWriteEvent.shouldCommit:()Z
ifeq 33
23: aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
astore 5
start local 5 24: aload 5
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 6
start local 6 25: aload 2
aload 5
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.host:Ljava/lang/String;
26: aload 2
aload 5
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.address:Ljava/lang/String;
27: aload 2
aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield jdk.jfr.events.SocketWriteEvent.port:I
28: aload 2
iload 3
ifge 29
iconst_0
goto 30
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer jdk.jfr.events.SocketWriteEvent int top java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent
29: iload 3
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer jdk.jfr.events.SocketWriteEvent int top java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent int
30: i2l
putfield jdk.jfr.events.SocketWriteEvent.bytesWritten:J
31: aload 2
invokevirtual jdk.jfr.events.SocketWriteEvent.commit:()V
32: aload 2
invokevirtual jdk.jfr.events.SocketWriteEvent.reset:()V
end local 6 end local 5 33: StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer jdk.jfr.events.SocketWriteEvent int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/jfr/internal/instrument/SocketChannelImplInstrumentor;
0 34 1 buf Ljava/nio/ByteBuffer;
1 34 2 event Ljdk/jfr/events/SocketWriteEvent;
4 34 3 bytesWritten I
11 20 5 hostString Ljava/lang/String;
24 33 5 hostString Ljava/lang/String;
12 20 6 delimiterIndex I
25 33 6 delimiterIndex 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
buf
public long write(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.jfr.events.SocketWriteEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.SocketWriteEvent
astore 4
start local 4 1: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.isEnabled:()Z
ifne 3
2: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.write:([Ljava/nio/ByteBuffer;II)J
lreturn
3: StackMap locals: jdk.jfr.events.SocketWriteEvent
StackMap stack:
lconst_0
lstore 5
start local 5 4: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.begin:()V
5: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.write:([Ljava/nio/ByteBuffer;II)J
lstore 5
6: goto 21
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer[] int int jdk.jfr.events.SocketWriteEvent long
StackMap stack: java.lang.Throwable
7: astore 7
8: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.end:()V
9: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.shouldCommit:()Z
ifeq 20
10: aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
astore 8
start local 8 11: aload 8
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 9
start local 9 12: aload 4
aload 8
iconst_0
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.host:Ljava/lang/String;
13: aload 4
aload 8
iload 9
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.address:Ljava/lang/String;
14: aload 4
aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield jdk.jfr.events.SocketWriteEvent.port:I
15: aload 4
lload 5
lconst_0
lcmp
ifge 16
lconst_0
goto 17
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer[] int int jdk.jfr.events.SocketWriteEvent long java.lang.Throwable java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent
16: lload 5
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer[] int int jdk.jfr.events.SocketWriteEvent long java.lang.Throwable java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent long
17: putfield jdk.jfr.events.SocketWriteEvent.bytesWritten:J
18: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.commit:()V
19: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.reset:()V
end local 9 end local 8 20: StackMap locals:
StackMap stack:
aload 7
athrow
21: StackMap locals:
StackMap stack:
aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.end:()V
22: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.shouldCommit:()Z
ifeq 33
23: aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
astore 8
start local 8 24: aload 8
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 9
start local 9 25: aload 4
aload 8
iconst_0
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.host:Ljava/lang/String;
26: aload 4
aload 8
iload 9
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.address:Ljava/lang/String;
27: aload 4
aload 0
getfield jdk.jfr.internal.instrument.SocketChannelImplInstrumentor.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield jdk.jfr.events.SocketWriteEvent.port:I
28: aload 4
lload 5
lconst_0
lcmp
ifge 29
lconst_0
goto 30
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer[] int int jdk.jfr.events.SocketWriteEvent long top java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent
29: lload 5
StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer[] int int jdk.jfr.events.SocketWriteEvent long top java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent long
30: putfield jdk.jfr.events.SocketWriteEvent.bytesWritten:J
31: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.commit:()V
32: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.reset:()V
end local 9 end local 8 33: StackMap locals: jdk.jfr.internal.instrument.SocketChannelImplInstrumentor java.nio.ByteBuffer[] int int jdk.jfr.events.SocketWriteEvent long
StackMap stack:
lload 5
lreturn
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 34 0 this Ljdk/jfr/internal/instrument/SocketChannelImplInstrumentor;
0 34 1 srcs [Ljava/nio/ByteBuffer;
0 34 2 offset I
0 34 3 length I
1 34 4 event Ljdk/jfr/events/SocketWriteEvent;
4 34 5 bytesWritten J
11 20 8 hostString Ljava/lang/String;
24 33 8 hostString Ljava/lang/String;
12 20 9 delimiterIndex I
25 33 9 delimiterIndex 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
srcs
offset
length
}
SourceFile: "SocketChannelImplInstrumentor.java"
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationTarget(value = "sun.nio.ch.SocketChannelImpl")