comparison src/share/classes/sun/tools/jstat/resources/jstat_unsupported_options @ 2467:1474dfa499e3

6959965: jstat: Add new -classload option to print class loading statistics Summary: Add a new jstat -classload option Reviewed-by: alanb
author mchung
date Thu, 10 Jun 2010 14:14:17 -0700
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:ee0189ce3fbd
1 /*
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 option classload {
27 column {
28 header "^Loaded^" /* Number of classes loaded */
29 data (java.cls.loadedClasses + java.cls.sharedLoadedClasses)
30 align right
31 scale raw
32 width 5
33 format "0"
34 }
35 column {
36 header "Time^" /* Accumulated time for class loading */
37 data sun.cls.time/sun.os.hrt.frequency
38 scale sec
39 align right
40 width 10
41 format "0.000"
42 }
43 column {
44 header "^Inited^" /* Number of initialized classes */
45 data sun.cls.initializedClasses
46 align right
47 scale raw
48 width 5
49 format "0"
50 }
51 column {
52 header "Time^" /* Accumulated time for class initialization */
53 data sun.cls.classInitTime.self/sun.os.hrt.frequency
54 scale raw
55 align right
56 width 10
57 format "0.000"
58 }
59 column {
60 header "Shared^" /* Number of system classes loaded from shared archive */
61 data java.cls.sharedLoadedClasses
62 align right
63 scale raw
64 width 5
65 format "0"
66 }
67 column {
68 header "Kbytes^" /* Accumulated Size of classes loaded */
69 data sun.cls.sharedLoadedBytes
70 align right
71 scale K
72 width 7
73 format "0.0"
74 }
75 column {
76 header "LoadTime^" /* Accumulated time for loading classes from shared archive */
77 data sun.cls.sharedClassLoadTime/sun.os.hrt.frequency
78 scale raw
79 align right
80 width 10
81 format "0.000"
82 }
83 column {
84 header "^SysClass^" /* Number of system classes loaded */
85 data java.cls.loadedClasses
86 align right
87 scale raw
88 width 5
89 format "0"
90 }
91 column {
92 header "Kbytes^" /* Bytes read from system class files */
93 data sun.cls.sysClassBytes
94 align right
95 scale K
96 width 7
97 format "0.0"
98 }
99 column {
100 header "LoadTime^" /* Accumulated time for loading non-shared system classes */
101 data sun.cls.sysClassLoadTime/sun.os.hrt.frequency
102 scale raw
103 align right
104 width 10
105 format "0.000"
106 }
107 column {
108 header "Lookup^" /* Time spent in looking up/reading of system classes */
109 data sun.cls.lookupSysClassTime/sun.os.hrt.frequency
110 scale raw
111 align right
112 width 10
113 format "0.000"
114 }
115 column {
116 header "Parse^" /* Time spent in parsing system classes */
117 data sun.cls.parseClassTime.self/sun.os.hrt.frequency
118 scale raw
119 align right
120 width 10
121 format "0.000"
122 }
123 column {
124 header "^Linked^" /* Number of linked classes */
125 data sun.cls.linkedClasses
126 align right
127 scale raw
128 width 5
129 format "0"
130 }
131 column {
132 header "Time^" /* Accumulated time for class linking */
133 data sun.cls.classInitTime.self/sun.os.hrt.frequency
134 scale raw
135 align right
136 width 10
137 format "0.000"
138 }
139 column {
140 header "^Verified^" /* Number of verified classes */
141 data sun.cls.verifiedClasses
142 align right
143 scale raw
144 width 5
145 format "0"
146 }
147 column {
148 header "Time^" /* Accumulated time for class verification */
149 data sun.cls.classVerifyTime.self/sun.os.hrt.frequency
150 scale raw
151 align right
152 width 10
153 format "0.000"
154 }
155 column {
156 header "AppClass^" /* Number of loaded application classes */
157 data sun.cls.appClassLoadCount
158 align right
159 scale raw
160 width 5
161 format "0"
162 }
163 column {
164 header "Kbytes^" /* Bytes read from app class files */
165 data sun.cls.appClassBytes
166 align right
167 scale K
168 width 7
169 format "0.0"
170 }
171 column {
172 header "AppCL^" /* Accumulated time for loading app classes */
173 data sun.cls.appClassLoadTime/sun.os.hrt.frequency
174 scale raw
175 align right
176 width 10
177 format "0.000"
178 }
179 column {
180 header "^DefineClass^" /* Number of defineClass calls */
181 data sun.cls.defineAppClasses
182 align right
183 scale raw
184 width 5
185 format "0"
186 }
187 column {
188 header "Time^" /* Accumulated time for defineClass */
189 data sun.cls.defineAppClassTime.self/sun.os.hrt.frequency
190 scale raw
191 align right
192 width 10
193 format "0.000"
194 }
195 column {
196 header "^FindClass^" /* Number of findClass calls */
197 data sun.classloader.findClasses
198 align right
199 scale raw
200 width 5
201 format "0"
202 }
203 column {
204 header "Time^" /* Accumulated time for findClass */
205 data sun.classloader.findClassTime/1000000000
206 scale raw
207 align right
208 width 10
209 format "0.000"
210 }
211 column {
212 header "Delegation^" /* Parent class loader delegation time */
213 data sun.classloader.parentDelegationTime/1000000000
214 scale raw
215 align right
216 width 10
217 format "0.000"
218 }
219 column {
220 header "URLCL Read^" /* Accumulated time for URLClassLoader reading bytes */
221 data sun.urlClassLoader.readClassBytesTime/1000000000
222 scale raw
223 align right
224 width 10
225 format "0.000"
226 }
227 }
228