final class jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor
super_class: java.lang.Object
{
private jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor$AbstractPlainSocketImpl impl;
descriptor: Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor$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.SocketOutputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor$AbstractPlainSocketImpl;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor;
private void socketWrite(byte[], int, int);
descriptor: ([BII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, 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 4
2: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.socketWrite:([BII)V
3: return
4: StackMap locals: jdk.jfr.events.SocketWriteEvent
StackMap stack:
iconst_0
istore 5
start local 5 5: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.begin:()V
6: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.socketWrite:([BII)V
7: iload 3
istore 5
8: goto 23
StackMap locals: jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor byte[] int int jdk.jfr.events.SocketWriteEvent int
StackMap stack: java.lang.Throwable
9: astore 6
10: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.end:()V
11: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.shouldCommit:()Z
ifeq 22
12: aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor$AbstractPlainSocketImpl;
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor$AbstractPlainSocketImpl.address:Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
astore 7
start local 7 13: aload 7
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 8
start local 8 14: aload 4
aload 7
iconst_0
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.host:Ljava/lang/String;
15: aload 4
aload 7
iload 8
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.address:Ljava/lang/String;
16: aload 4
aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor$AbstractPlainSocketImpl;
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor$AbstractPlainSocketImpl.port:I
putfield jdk.jfr.events.SocketWriteEvent.port:I
17: aload 4
iload 5
ifge 18
iconst_0
goto 19
StackMap locals: jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor byte[] int int jdk.jfr.events.SocketWriteEvent int java.lang.Throwable java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent
18: iload 5
StackMap locals: jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor byte[] int int jdk.jfr.events.SocketWriteEvent int java.lang.Throwable java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent int
19: i2l
putfield jdk.jfr.events.SocketWriteEvent.bytesWritten:J
20: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.commit:()V
21: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.reset:()V
end local 8 end local 7 22: StackMap locals:
StackMap stack:
aload 6
athrow
23: StackMap locals:
StackMap stack:
aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.end:()V
24: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.shouldCommit:()Z
ifeq 35
25: aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor$AbstractPlainSocketImpl;
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor$AbstractPlainSocketImpl.address:Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
astore 7
start local 7 26: aload 7
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 8
start local 8 27: aload 4
aload 7
iconst_0
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.host:Ljava/lang/String;
28: aload 4
aload 7
iload 8
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.address:Ljava/lang/String;
29: aload 4
aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor$AbstractPlainSocketImpl;
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor$AbstractPlainSocketImpl.port:I
putfield jdk.jfr.events.SocketWriteEvent.port:I
30: aload 4
iload 5
ifge 31
iconst_0
goto 32
StackMap locals: jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor byte[] int int jdk.jfr.events.SocketWriteEvent int top java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent
31: iload 5
StackMap locals: jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor byte[] int int jdk.jfr.events.SocketWriteEvent int top java.lang.String int
StackMap stack: jdk.jfr.events.SocketWriteEvent int
32: i2l
putfield jdk.jfr.events.SocketWriteEvent.bytesWritten:J
33: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.commit:()V
34: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.reset:()V
end local 8 end local 7 35: StackMap locals: jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor byte[] int int jdk.jfr.events.SocketWriteEvent int
StackMap stack:
return
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 36 0 this Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor;
0 36 1 b [B
0 36 2 off I
0 36 3 len I
1 36 4 event Ljdk/jfr/events/SocketWriteEvent;
5 36 5 bytesWritten I
13 22 7 hostString Ljava/lang/String;
26 35 7 hostString Ljava/lang/String;
14 22 8 delimiterIndex I
27 35 8 delimiterIndex I
Exception table:
from to target type
5 9 9 any
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationMethod()
MethodParameters:
Name Flags
b
off
len
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.SocketOutputStreamInstrumentor.impl:Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor$AbstractPlainSocketImpl;
aload 1
putfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor$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/SocketOutputStreamInstrumentor;
0 2 1 dummy Ljava/net/InetAddress;
MethodParameters:
Name Flags
dummy
}
SourceFile: "SocketOutputStreamInstrumentor.java"
NestMembers:
jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor$AbstractPlainSocketImpl
InnerClasses:
AbstractPlainSocketImpl = jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor$AbstractPlainSocketImpl of jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationTarget(value = "java.net.SocketOutputStream")
jdk.jfr.internal.instrument.JITypeMapping(from = "jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor$AbstractPlainSocketImpl", to = "java.net.AbstractPlainSocketImpl")