Searched refs:usage (Results 76 - 100 of 196) sorted by relevance

12345678

/openjdk7/jdk/test/java/lang/management/MemoryMXBean/
H A DMemoryUtil.java43 public static void printMemoryUsage(MemoryUsage usage) { argument
44 System.out.println(INDENT + formatSize("Initial size ", usage.getInit()));
45 System.out.println(INDENT + formatSize("Used size ", usage.getUsed()));
46 System.out.println(INDENT + formatSize("Committd size ", usage.getCommitted()));
47 System.out.println(INDENT + formatSize("Max size ", usage.getMax()));
113 System.out.println(INDENT + "usage = " + minfo.getUsage());
/openjdk7/jdk/src/share/classes/sun/tools/jstack/
H A DJStack.java45 usage(); // no arguments
68 usage();
84 usage();
121 usage(); // SA not available
201 // print usage message
202 private static void usage() { method in class:JStack
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/newrmic/
H A DMain.java198 * Prints rmic's usage message to the output stream of this Main
204 public void usage() { method in class:Main
205 error("rmic.usage", program);
243 usage();
292 usage();
297 usage();
308 usage();
313 usage();
324 usage();
329 usage();
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DGUI.java27 * This source code is provided to illustrate the usage of a given feature
121 private static void usage() { method in class:GUI
174 usage();
195 usage();
202 usage();
209 usage();
214 usage();
221 usage();
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DExtendedKeyUsageExtension.java45 * indicated in the key usage extension field. This field is defined
68 * usage of the key is restricted by the certification authority to
73 * If a certificate contains both a critical key usage field and a
74 * critical extended key usage field, then both fields MUST be
195 ObjectIdentifier usage = seq.getOID();
196 keyUsages.addElement(usage);
205 String usage = " ";
209 usage += "\n ";
214 usage += result;
216 usage
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jmap/
H A DJMap.java63 usage(); // no arguments
84 usage(); // option already specified
104 usage();
142 usage();
164 if (fn == null) usage();
183 usage(); // no mapping to tool
189 usage();
228 usage(); // invalid options or no filename
343 // print usage message
344 private static void usage() { method in class:JMap
[all...]
/openjdk7/hotspot/agent/test/jdi/
H A Dmultivm.java48 private static void usage() { method in class:multivm
85 usage();
89 usage();
H A Dserialvm.java50 private static void usage() { method in class:serialvm
85 usage();
89 usage();
/openjdk7/hotspot/test/gc/6581734/
H A DTest6581734.java27 * @summary CMS Old Gen's collection usage is zero after GC which is incorrect
34 // 6581734 states that memory pool usage via the mbean is wrong
85 long usage = pool.getCollectionUsage().getUsed();
86 System.out.println(name + ": usage after GC = " + usage);
88 if (usage > 0) {
/openjdk7/jdk/src/share/sample/nio/file/
H A DWatchDir.java33 * This source code is provided to illustrate the usage of a given feature
163 static void usage() { method in class:WatchDir
164 System.err.println("usage: java WatchDir [-r] dir");
171 usage();
176 usage();
H A DCopy.java33 * This source code is provided to illustrate the usage of a given feature
148 static void usage() { method in class:Copy
166 usage();
173 default : usage();
182 usage();
H A DAclEdit.java33 * This source code is provided to illustrate the usage of a given feature
110 usage();
121 usage();
139 usage();
171 static void usage() { method in class:AclEdit
172 System.err.println("usage: java AclEdit [ACL-operation] file");
202 usage();
244 usage();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DCommandProcessor.java195 usage = u;
201 usage = n;
206 final String usage; field in class:CommandProcessor.Command
209 void usage() { method in class:CommandProcessor.Command
210 out.println("Usage: " + usage);
343 usage();
363 usage();
370 usage();
393 usage();
414 usage();
1496 registerCommand(String cmd, String usage, final String func) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/
H A DTool.java97 protected void usage() { method in class:Tool
121 usage();
126 usage();
155 usage();
/openjdk7/jdk/src/share/classes/com/sun/tools/example/trace/
H A DTrace.java27 * This source code is provided to illustrate the usage of a given feature
111 usage();
115 usage();
121 usage();
232 * Print command line usage help
234 void usage() { method in class:Trace
/openjdk7/jdk/make/tools/src/build/tools/commentchecker/
H A DCommentChecker.java184 System.err.println("usage: java CommentChecker [-] file.java ...");
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DMain.java56 usage();
76 usage();
91 usage();
156 void usage() { method in class:Main
/openjdk7/hotspot/src/share/vm/services/
H A DmemoryManager.hpp117 // We keep memory usage of all memory pools
147 void set_before_gc_usage(int pool_index, MemoryUsage usage) { argument
149 set_gc_usage(pool_index, usage, true /* before gc */);
151 void set_after_gc_usage(int pool_index, MemoryUsage usage) { argument
153 set_gc_usage(pool_index, usage, false /* after gc */);
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DSolarisOperatingSystem.c126 uint_t *usage; local
142 usage = cpu_stat.cpu_sysinfo.cpu;
143 c_idle = usage[CPU_IDLE];
146 c_total += usage[i];
220 // Get the percentage of "recent cpu usage" from all the lwp:s in the JVM:s
/openjdk7/jdk/test/
H A Dstart-Xvfb.sh30 usage() { function
32 echo " usage:"
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/
H A DMain.java134 public void usage() { method in class:Main
135 error("rmic.usage", program);
161 usage();
247 usage();
253 usage();
261 usage();
268 usage();
276 usage();
283 usage();
291 usage();
[all...]
/openjdk7/jdk/src/windows/native/sun/awt_common/
H A Dawt_makecube.cpp52 void usage(char *errmsg) function
55 fprintf(stderr, "usage: %s [-cmapsize N] [-cubesize N]\n", programname);
68 usage("Internal error: system palette conflict");
85 usage("Internal error: ran out of system palette entries");
102 usage("Internal error: more than cmapsize static colors defined");
119 usage("no argument to -cmapsize");
123 usage("colormap size must be between 2 and 256");
127 usage("no argument to -cubesize");
134 usage("cube size must by a power of 2 <= 32");
139 usage("unknow
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/script/shell/
H A DMain.java121 usage(EXIT_CMD_NO_PROPNAME);
126 usage(EXIT_SUCCESS);
130 usage(EXIT_CMD_NO_SCRIPT);
137 usage(EXIT_CMD_NO_ENCODING);
143 usage(EXIT_CMD_NO_FILE);
147 usage(EXIT_MULTIPLE_STDIN);
158 usage(EXIT_CMD_NO_LANG);
165 usage(EXIT_UNKNOWN_OPTION);
372 * Prints usage message and exits
375 private static void usage(in method in class:Main
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/
H A DMain.java51 private static void usage(String message) { method in class:Main
92 usage("Boolean value must be true or false");
99 usage("No arguments supplied");
111 usage("Option parsing error");
120 usage(null);
/openjdk7/jdk/test/java/awt/Graphics2D/MTGraphicsAccessTest/
H A DMTGraphicsAccessTest.java131 public static void usage(String message) { method in class:MTGraphicsAccessTest
164 usage("Can't parse number of seconds: " + args[i]);
166 usage("Missing the 'seconds' argument for -time parameter");
169 usage(null);
171 usage("Unknown argument:" + args[i]);

Completed in 145 milliseconds

12345678