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 jdk.jfr.internal.instrument.SocketInputStreamInstrumentor$AbstractPlainSocketImpl impl;
descriptor: Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor$AbstractPlainSocketImpl;
flags: (0x0002) ACC_PRIVATE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor$AbstractPlainSocketImpl;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor;
int read(byte[], int, int, int);
descriptor: ([BIII)I
flags: (0x0000)
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic jdk.jfr.events.SocketReadEvent.EVENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.jfr.events.SocketReadEvent
astore 5
start local 5 1: aload 5
invokevirtual jdk.jfr.events.SocketReadEvent.isEnabled:()Z
ifne 3
2: aload 0
aload 1
iload 2
iload 3
iload 4
invokevirtual jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.read:([BIII)I
ireturn
3: StackMap locals: jdk.jfr.events.SocketReadEvent
StackMap stack:
iconst_0
istore 6
start local 6 4: aload 5
invokevirtual jdk.jfr.events.SocketReadEvent.begin:()V
5: aload 0
aload 1
iload 2
iload 3
iload 4
invokevirtual jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.read:([BIII)I
istore 6
6: goto 23
StackMap locals: jdk.jfr.internal.instrument.SocketInputStreamInstrumentor byte[] int int int jdk.jfr.events.SocketReadEvent int
StackMap stack: java.lang.Throwable
7: astore 7
8: aload 5
invokevirtual jdk.jfr.events.SocketReadEvent.end:()V
9: aload 5
invokevirtual jdk.jfr.events.SocketReadEvent.shouldCommit:()Z
ifeq 22
10: aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor$AbstractPlainSocketImpl;
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor$AbstractPlainSocketImpl.address: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 5
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 5
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 5
aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor$AbstractPlainSocketImpl;
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor$AbstractPlainSocketImpl.port:I
putfield jdk.jfr.events.SocketReadEvent.port:I
15: iload 6
ifge 18
16: aload 5
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 5
iload 6
i2l
putfield jdk.jfr.events.SocketReadEvent.bytesRead:J
19: StackMap locals:
StackMap stack:
aload 5
iload 4
i2l
putfield jdk.jfr.events.SocketReadEvent.timeout:J
20: aload 5
invokevirtual jdk.jfr.events.SocketReadEvent.commit:()V
21: aload 5
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 5
invokevirtual jdk.jfr.events.SocketReadEvent.end:()V
24: aload 5
invokevirtual jdk.jfr.events.SocketReadEvent.shouldCommit:()Z
ifeq 37
25: aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor$AbstractPlainSocketImpl;
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor$AbstractPlainSocketImpl.address: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 5
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 5
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 5
aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor$AbstractPlainSocketImpl;
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor$AbstractPlainSocketImpl.port:I
putfield jdk.jfr.events.SocketReadEvent.port:I
30: iload 6
ifge 33
31: aload 5
iconst_1
putfield jdk.jfr.events.SocketReadEvent.endOfStream:Z
32: goto 34
33: StackMap locals: jdk.jfr.internal.instrument.SocketInputStreamInstrumentor byte[] int int int jdk.jfr.events.SocketReadEvent int top java.lang.String int
StackMap stack:
aload 5
iload 6
i2l
putfield jdk.jfr.events.SocketReadEvent.bytesRead:J
34: StackMap locals:
StackMap stack:
aload 5
iload 4
i2l
putfield jdk.jfr.events.SocketReadEvent.timeout:J
35: aload 5
invokevirtual jdk.jfr.events.SocketReadEvent.commit:()V
36: aload 5
invokevirtual jdk.jfr.events.SocketReadEvent.reset:()V
end local 9 end local 8 37: StackMap locals: jdk.jfr.internal.instrument.SocketInputStreamInstrumentor byte[] int int int jdk.jfr.events.SocketReadEvent int
StackMap stack:
iload 6
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 38 0 this Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor;
0 38 1 b [B
0 38 2 off I
0 38 3 length I
0 38 4 timeout I
1 38 5 event Ljdk/jfr/events/SocketReadEvent;
4 38 6 bytesRead I
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
b
off
length
timeout
void silenceFindBugsUnwrittenField(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor$AbstractPlainSocketImpl;
aload 1
putfield jdk.jfr.internal.instrument.SocketInputStreamInstrumentor$AbstractPlainSocketImpl.address:Ljava/net/InetAddress;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/instrument/SocketInputStreamInstrumentor;
0 2 1 dummy Ljava/net/InetAddress;
MethodParameters:
Name Flags
dummy
}
SourceFile: "SocketInputStreamInstrumentor.java"
NestMembers:
jdk.jfr.internal.instrument.SocketInputStreamInstrumentor$AbstractPlainSocketImpl
InnerClasses:
AbstractPlainSocketImpl = jdk.jfr.internal.instrument.SocketInputStreamInstrumentor$AbstractPlainSocketImpl of jdk.jfr.internal.instrument.SocketInputStreamInstrumentor
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationTarget(value = "java.net.SocketInputStream")
jdk.jfr.internal.instrument.JITypeMapping(from = "jdk.jfr.internal.instrument.SocketInputStreamInstrumentor$AbstractPlainSocketImpl", to = "java.net.AbstractPlainSocketImpl")