public abstract class net.bytebuddy.agent.VirtualMachine$ForHotSpot implements net.bytebuddy.agent.VirtualMachine
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: net.bytebuddy.agent.VirtualMachine$ForHotSpot
super_class: java.lang.Object
{
private static final java.lang.String UTF_8;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "UTF-8"
private static final java.lang.String PROTOCOL_VERSION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "1"
private static final java.lang.String LOAD_COMMAND;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "load"
private static final java.lang.String INSTRUMENT_COMMAND;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "instrument"
private static final java.lang.String ARGUMENT_DELIMITER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "="
private static final byte[] BLANK;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final java.lang.String processId;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
newarray 8
putstatic net.bytebuddy.agent.VirtualMachine$ForHotSpot.BLANK:[B
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield net.bytebuddy.agent.VirtualMachine$ForHotSpot.processId:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lnet/bytebuddy/agent/VirtualMachine$ForHotSpot;
0 3 1 processId Ljava/lang/String;
MethodParameters:
Name Flags
processId
public void loadAgent(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.connect:()V
1: aload 0
ldc "1"
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.write:([B)V
2: aload 0
getstatic net.bytebuddy.agent.VirtualMachine$ForHotSpot.BLANK:[B
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.write:([B)V
3: aload 0
ldc "load"
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.write:([B)V
4: aload 0
getstatic net.bytebuddy.agent.VirtualMachine$ForHotSpot.BLANK:[B
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.write:([B)V
5: aload 0
ldc "instrument"
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.write:([B)V
6: aload 0
getstatic net.bytebuddy.agent.VirtualMachine$ForHotSpot.BLANK:[B
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.write:([B)V
7: aload 0
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.toString:()Ljava/lang/String;
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.write:([B)V
8: aload 0
getstatic net.bytebuddy.agent.VirtualMachine$ForHotSpot.BLANK:[B
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.write:([B)V
9: aload 0
aload 2
ifnonnull 11
10: aload 1
goto 12
11: StackMap locals:
StackMap stack: net.bytebuddy.agent.VirtualMachine$ForHotSpot
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: net.bytebuddy.agent.VirtualMachine$ForHotSpot java.lang.String java.lang.String
StackMap stack: net.bytebuddy.agent.VirtualMachine$ForHotSpot java.lang.String
12: ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
13: invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.write:([B)V
14: aload 0
getstatic net.bytebuddy.agent.VirtualMachine$ForHotSpot.BLANK:[B
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.write:([B)V
15: iconst_1
newarray 8
astore 3
start local 3 16: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 17: goto 22
start local 5 18: StackMap locals: byte[] java.lang.StringBuilder int
StackMap stack:
iload 5
ifle 22
19: aload 3
iconst_0
baload
bipush 10
if_icmpne 21
20: goto 24
21: StackMap locals:
StackMap stack:
aload 4
aload 3
iconst_0
baload
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 22: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.read:([B)I
dup
istore 5
start local 5 23: iconst_m1
if_icmpne 18
24: StackMap locals: int
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
lookupswitch { // 2
0: 25
101: 26
default: 27
}
25: StackMap locals:
StackMap stack:
return
26: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Protocol mismatch with target VM"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
sipush 1024
newarray 8
astore 3
28: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
29: goto 31
30: StackMap locals:
StackMap stack:
aload 4
new java.lang.String
dup
aload 3
iconst_0
iload 5
ldc "UTF-8"
invokespecial java.lang.String.<init>:([BIILjava/lang/String;)V
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
31: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual net.bytebuddy.agent.VirtualMachine$ForHotSpot.read:([B)I
dup
istore 5
iconst_m1
if_icmpne 30
32: new java.lang.IllegalStateException
dup
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
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 33 0 this Lnet/bytebuddy/agent/VirtualMachine$ForHotSpot;
0 33 1 jarFile Ljava/lang/String;
0 33 2 argument Ljava/lang/String;
16 33 3 buffer [B
17 33 4 stringBuilder Ljava/lang/StringBuilder;
18 22 5 length I
23 33 5 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
jarFile
argument
protected abstract void connect();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
protected abstract int read(byte[]);
descriptor: ([B)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
protected abstract void write(byte[]);
descriptor: ([B)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
}
SourceFile: "VirtualMachine.java"
NestHost: net.bytebuddy.agent.VirtualMachine
InnerClasses:
public abstract ForHotSpot = net.bytebuddy.agent.VirtualMachine$ForHotSpot of net.bytebuddy.agent.VirtualMachine
public OnUnix = net.bytebuddy.agent.VirtualMachine$ForHotSpot$OnUnix of net.bytebuddy.agent.VirtualMachine$ForHotSpot