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 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/SocketOutputStreamInstrumentor;
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, 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.write:([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.write:([BII)V
7: iload 3
istore 5
8: goto 20
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 19
12: aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getInetAddress:()Ljava/net/InetAddress;
astore 7
start local 7 13: aload 4
aload 7
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.host:Ljava/lang/String;
14: aload 4
aload 7
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.address:Ljava/lang/String;
15: aload 4
aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getPort:()I
putfield jdk.jfr.events.SocketWriteEvent.port:I
16: aload 4
iload 5
i2l
putfield jdk.jfr.events.SocketWriteEvent.bytesWritten:J
17: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.commit:()V
18: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.reset:()V
end local 7 19: StackMap locals: java.lang.Throwable
StackMap stack:
aload 6
athrow
20: StackMap locals:
StackMap stack:
aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.end:()V
21: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.shouldCommit:()Z
ifeq 29
22: aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getInetAddress:()Ljava/net/InetAddress;
astore 7
start local 7 23: aload 4
aload 7
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.host:Ljava/lang/String;
24: aload 4
aload 7
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
putfield jdk.jfr.events.SocketWriteEvent.address:Ljava/lang/String;
25: aload 4
aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getPort:()I
putfield jdk.jfr.events.SocketWriteEvent.port:I
26: aload 4
iload 5
i2l
putfield jdk.jfr.events.SocketWriteEvent.bytesWritten:J
27: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.commit:()V
28: aload 4
invokevirtual jdk.jfr.events.SocketWriteEvent.reset:()V
end local 7 29: StackMap locals:
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 30 0 this Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor;
0 30 1 b [B
0 30 2 off I
0 30 3 len I
1 30 4 event Ljdk/jfr/events/SocketWriteEvent;
5 30 5 bytesWritten I
13 19 7 remote Ljava/net/InetAddress;
23 29 7 remote Ljava/net/InetAddress;
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
}
SourceFile: "SocketOutputStreamInstrumentor.java"
RuntimeVisibleAnnotations:
jdk.jfr.internal.instrument.JIInstrumentationTarget(value = "java.net.Socket$SocketOutputStream")