sun.tools.attach.HotSpotVirtualMachine.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmockit-coverage Show documentation
Show all versions of jmockit-coverage Show documentation
JMockit Coverage is a code coverage tool with several metrics (line, path, data) capable of generating HTML
reports. It is designed with ease of use in mind, avoiding the need for complex configuration.
Instead, smart (but overridable) defaults are employed, such as the selection of which classes to consider for
coverage, and where to find sources files for report generation.
???? 2 ?
A ? ? ? ? ?
@ ?
@ ? ? ?
?
? ?
@ ? ?
?
? ?
? ?
@ ? ? ? ?
?
? ?
? ? ? ?
? ?
? ?
! ? ?
@ ?
! ? ? ? ? ? ? ? ? ? ?
? ?
?
? ? ?
2 ?
? ? ? ? @ ? ?
? ?
? ? ? @ ? ? ? ?
JNI_ENOMEM I
ConstantValue???? ATTACH_ERROR_BADJAR d ATTACH_ERROR_NOTONCP e ATTACH_ERROR_STARTFAIL f defaultAttachTimeout J
attachTimeout >(Lcom/sun/tools/attach/spi/AttachProvider;Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this (Lsun/tools/attach/HotSpotVirtualMachine; provider )Lcom/sun/tools/attach/spi/AttachProvider; id Ljava/lang/String; loadAgentLibrary ((Ljava/lang/String;ZLjava/lang/String;)V result agentLibrary
isAbsolute Z options in Ljava/io/InputStream;
StackMapTable ? ? ? ?
Exceptions '(Ljava/lang/String;Ljava/lang/String;)V
loadAgentPath loadAgent x )Lcom/sun/tools/attach/AgentLoadException; rc 3Lcom/sun/tools/attach/AgentInitializationException; agent args ? ? getSystemProperties ()Ljava/util/Properties; props Ljava/util/Properties; ? getAgentProperties
localDataDump ()V remoteDataDump *([Ljava/lang/Object;)Ljava/io/InputStream; [Ljava/lang/Object; dumpHeap heapHisto setFlag ;(Ljava/lang/String;Ljava/lang/String;)Ljava/io/InputStream; name value printFlag )(Ljava/lang/String;)Ljava/io/InputStream; executeJCmd command execute <(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream; executeCommand cmd readInt (Ljava/io/InputStream;)I c C !Ljava/lang/NumberFormatException; sb Ljava/lang/StringBuilder; n buf [B ? ? ? ()J s se Ljava/lang/SecurityException; ne ? ?
SourceFile HotSpotVirtualMachine.java O P load java/lang/Object true false ? ? ? ? 1com/sun/tools/attach/AgentInitializationException Agent_OnAttach failed O ? ? ? | Z [ java/lang/StringBuilder O | ? ? = ? ?
instrument Z j 'com/sun/tools/attach/AgentLoadException java/lang/InternalError *instrument library is missing in target VM O ? ? ? Insuffient memory /Agent JAR not found or no Agent-Class attribute +Unable to add JAR file to system class path /Agent JAR loaded but agent failed to initialize 'Failed to load agent - unknown reason: ? ? java/util/Properties
properties ? ? ? ? agentProperties datadump
threaddump dumpheap inspectheap setflag printflag jcmd Should not get here ? ? ? ? ? ? java/io/IOException
Premature EOF ? ? ? java/lang/NumberFormatException &Non-numeric value found - int expected N M sun.tools.attach.attachTimeout ? ? ? ? ? ? java/lang/SecurityException L M &sun/tools/attach/HotSpotVirtualMachine #com/sun/tools/attach/VirtualMachine java/lang/String java/io/InputStream java/lang/Throwable (Ljava/lang/String;I)V close append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V returnValue ()I (I)Ljava/lang/StringBuilder; (Ljava/io/InputStream;)V read ([BII)I (C)Ljava/lang/StringBuilder; length java/lang/Integer parseInt (Ljava/lang/String;)I java/lang/System getProperty &(Ljava/lang/String;)Ljava/lang/String; java/lang/Long parseLong (Ljava/lang/String;)J! @ A B C D E F C D G H C D I J C D K
L M B N M O P Q I *+,? ? R
- . S T U V W X Y Z [ Q ( N*? Y+SY? ? SY-S? :*? 6? ? Y ?
?? ?
:? ?? " ; C C E C R " : " ? * @ / A ; D @ F C D M G S > * \ C N T U N ] Y N ^ _ N ` Y " , a b c L ? d e e d e f f? d e e d e f f e? " gG h i 2 Z j Q J *+,? ? R
O P S T U ] Y ` Y i 2 k j Q J *+,? ? R
X Y S T U ] Y ` Y i 2 l j Q ? ?+N,? ?
Y? -? ? ,? ? N*-? ? ?:? Y? ?:? 6? Q ???? ) d 3 e = f G? Y? ?? Y? ?? Y? ?? Y? ?? Y?
Y? ? ? ? ? ?? % ( % 4 R B b c d g % } ( h * i 4 j 6 p = q h s r u | w ? y ? { ? ~ S H *
m n = o o C 6 v m p ? T U ? q Y ? ` Y ? r Y c ? eI sK t? 3 t ? i 2 u v Q ? 2L? !Y? "M*#? ? $L,+? %+? +? ? N+? +? -?,?
% R ? ?
? ? ? 0 ? S 2 T U 0 a b
( w x c ? % d g y h? h? i 2 z v Q ? 2L? !Y? "M*&? ? $L,+? %+? +? ? N+? +? -?,?
% R ? ?
? ? ? 0 ? S 2 T U 0 a b
( w x c ? % d g y h? h? i 2 { | Q <