83 is important in making everything is found. 84 It is recommended that you change the name of the agent when you 85 modify it to avoid conflicts with the existing demo agents. 86 Or better yet, go to http://jdk.dev.java.net and submit your 87 changes to the agent as an RFE to the JDK. 88 89 90 <h2> Demonstration Agents Available </h2> 91 92 <ul> 93 94 <li> 95 <A HREF="versionCheck">versionCheck</A> 96 <br> 97 This is a extremely small agent that does nothing but check the 98 version string supplied in the jvmti.h file, with the version 99 number supplied by the VM at runtime. 100 </li> 101 102 <li> 103 <A HREF="mtrace">mtrace</A> 104 <br> 105 This is a small agent that does method tracing. 106 It uses Bytecode Instrumentation (BCI) via the java_crw_demo library. 107 </li> 108 109 <li> 110 <A HREF="minst">minst</A> 111 <br> 112 This is an even smaller agent that does just method entry tracing. 113 It also uses Bytecode Instrumentation (BCI) via the java_crw_demo library, 114 but the instrumentation code is pure Java (no Java native methods used). 115 NOTE: Be sure to check out java.lang.instrument for a way to avoid 116 native code agents completely. 117 </li> 118 119 <li> 120 <A HREF="gctest">gctest</A> 121 <br> 122 This is a small agent that does garbage collection counting. | 83 is important in making everything is found. 84 It is recommended that you change the name of the agent when you 85 modify it to avoid conflicts with the existing demo agents. 86 Or better yet, go to http://jdk.dev.java.net and submit your 87 changes to the agent as an RFE to the JDK. 88 89 90 <h2> Demonstration Agents Available </h2> 91 92 <ul> 93 94 <li> 95 <A HREF="versionCheck">versionCheck</A> 96 <br> 97 This is a extremely small agent that does nothing but check the 98 version string supplied in the jvmti.h file, with the version 99 number supplied by the VM at runtime. 100 </li> 101 102 <li> 103 <A HREF="compiledMethodLoad">compiledMethodLoad</A> 104 <br> 105 This is a small agent that traces CompiledMethodLoad events along 106 with the HotSpot specific compile_info parameter. 107 </li> 108 109 <li> 110 <A HREF="mtrace">mtrace</A> 111 <br> 112 This is a small agent that does method tracing. 113 It uses Bytecode Instrumentation (BCI) via the java_crw_demo library. 114 </li> 115 116 <li> 117 <A HREF="minst">minst</A> 118 <br> 119 This is an even smaller agent that does just method entry tracing. 120 It also uses Bytecode Instrumentation (BCI) via the java_crw_demo library, 121 but the instrumentation code is pure Java (no Java native methods used). 122 NOTE: Be sure to check out java.lang.instrument for a way to avoid 123 native code agents completely. 124 </li> 125 126 <li> 127 <A HREF="gctest">gctest</A> 128 <br> 129 This is a small agent that does garbage collection counting. |