public class sun.tools.attach.AttachProviderImpl extends sun.tools.attach.HotSpotAttachProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.attach.AttachProviderImpl
super_class: sun.tools.attach.HotSpotAttachProvider
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/tools/attach/AttachProviderImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.tools.attach.AttachProviderImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.tools.attach.HotSpotAttachProvider.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/attach/AttachProviderImpl;
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "sun"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/attach/AttachProviderImpl;
public java.lang.String type();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "doors"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/attach/AttachProviderImpl;
public com.sun.tools.attach.VirtualMachine attachVirtualMachine(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.attach.AttachProviderImpl.checkAttachPermission:()V
1: aload 0
aload 1
invokevirtual sun.tools.attach.AttachProviderImpl.testAttachable:(Ljava/lang/String;)V
2: new sun.tools.attach.VirtualMachineImpl
dup
aload 0
aload 1
invokespecial sun.tools.attach.VirtualMachineImpl.<init>:(Lcom/sun/tools/attach/spi/AttachProvider;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/attach/AttachProviderImpl;
0 3 1 vmid Ljava/lang/String;
Exceptions:
throws com.sun.tools.attach.AttachNotSupportedException, java.io.IOException
MethodParameters:
Name Flags
vmid
public com.sun.tools.attach.VirtualMachine attachVirtualMachine(com.sun.tools.attach.VirtualMachineDescriptor);
descriptor: (Lcom/sun/tools/attach/VirtualMachineDescriptor;)Lcom/sun/tools/attach/VirtualMachine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.provider:()Lcom/sun/tools/attach/spi/AttachProvider;
aload 0
if_acmpeq 2
1: new com.sun.tools.attach.AttachNotSupportedException
dup
ldc "provider mismatch"
invokespecial com.sun.tools.attach.AttachNotSupportedException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.tools.attach.HotSpotAttachProvider$HotSpotVirtualMachineDescriptor
ifeq 6
3: getstatic sun.tools.attach.AttachProviderImpl.$assertionsDisabled:Z
ifne 4
aload 1
checkcast sun.tools.attach.HotSpotAttachProvider$HotSpotVirtualMachineDescriptor
invokevirtual sun.tools.attach.HotSpotAttachProvider$HotSpotVirtualMachineDescriptor.isAttachable:()Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.tools.attach.AttachProviderImpl.checkAttachPermission:()V
5: new sun.tools.attach.VirtualMachineImpl
dup
aload 0
aload 1
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.id:()Ljava/lang/String;
invokespecial sun.tools.attach.VirtualMachineImpl.<init>:(Lcom/sun/tools/attach/spi/AttachProvider;Ljava/lang/String;)V
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.id:()Ljava/lang/String;
invokevirtual sun.tools.attach.AttachProviderImpl.attachVirtualMachine:(Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/attach/AttachProviderImpl;
0 7 1 vmd Lcom/sun/tools/attach/VirtualMachineDescriptor;
Exceptions:
throws com.sun.tools.attach.AttachNotSupportedException, java.io.IOException
MethodParameters:
Name Flags
vmd
}
SourceFile: "AttachProviderImpl.java"
InnerClasses:
HotSpotVirtualMachineDescriptor = sun.tools.attach.HotSpotAttachProvider$HotSpotVirtualMachineDescriptor of sun.tools.attach.HotSpotAttachProvider