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=10, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.jfr.events.Handlers.SOCKET_WRITE:Ljdk/jfr/internal/handlers/EventHandler;
astore 4
start local 4 1: aload 4
invokevirtual jdk.jfr.internal.handlers.EventHandler.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.internal.handlers.EventHandler
StackMap stack:
iconst_0
istore 5
start local 5 5: lconst_0
lstore 6
start local 6 6: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lstore 6
7: aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.write:([BII)V
8: iload 3
istore 5
9: goto 23
StackMap locals: jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor byte[] int int jdk.jfr.internal.handlers.EventHandler int long
StackMap stack: java.lang.Throwable
10: astore 8
11: invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 6
lsub
lstore 9
start local 9 12: aload 4
lload 9
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 22
13: aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getInetAddress:()Ljava/net/InetAddress;
astore 11
start local 11 14: aload 4
15: lload 6
16: lload 9
17: aload 11
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
18: aload 11
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
19: aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getPort:()I
20: iload 5
i2l
21: invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;Ljava/lang/String;IJ)V
end local 11 end local 9 22: StackMap locals: java.lang.Throwable
StackMap stack:
aload 8
athrow
23: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.handlers.EventHandler.timestamp:()J
lload 6
lsub
lstore 9
start local 9 24: aload 4
lload 9
invokevirtual jdk.jfr.internal.handlers.EventHandler.shouldCommit:(J)Z
ifeq 34
25: aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getInetAddress:()Ljava/net/InetAddress;
astore 11
start local 11 26: aload 4
27: lload 6
28: lload 9
29: aload 11
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
30: aload 11
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
31: aload 0
getfield jdk.jfr.internal.instrument.SocketOutputStreamInstrumentor.parent:Ljava/net/Socket;
invokevirtual java.net.Socket.getPort:()I
32: iload 5
i2l
33: invokevirtual jdk.jfr.internal.handlers.EventHandler.write:(JJLjava/lang/String;Ljava/lang/String;IJ)V
end local 11 end local 9 34: StackMap locals:
StackMap stack:
return
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 35 0 this Ljdk/jfr/internal/instrument/SocketOutputStreamInstrumentor;
0 35 1 b [B
0 35 2 off I
0 35 3 len I
1 35 4 handler Ljdk/jfr/internal/handlers/EventHandler;
5 35 5 bytesWritten I
6 35 6 start J
12 22 9 duration J
24 34 9 duration J
14 22 11 remote Ljava/net/InetAddress;
26 34 11 remote Ljava/net/InetAddress;
Exception table:
from to target type
6 10 10 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")