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