aboutsummaryrefslogtreecommitdiff
path: root/Examples/j_package_example.txt
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
commit055173dba4a263acf10325a49eebf82915369ed2 (patch)
treeaec2772e8855e6dbaea6d8136ed0c47bcb825dee /Examples/j_package_example.txt
parent87c8f7aa3a46118212b99f0d58b18aa93c06b02a (diff)
Notes
Diffstat (limited to 'Examples/j_package_example.txt')
-rw-r--r--Examples/j_package_example.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/Examples/j_package_example.txt b/Examples/j_package_example.txt
new file mode 100644
index 000000000000..0d4da29d9e90
--- /dev/null
+++ b/Examples/j_package_example.txt
@@ -0,0 +1,44 @@
+The following are examples of j_package.d.
+
+This script will show you the number of times a class is loaded from
+particular packages.
+
+Here you can see it running when Code/Java/Func_abc runs.
+
+# j_package.d
+Tracing... Hit Ctrl-C to end.
+
+ PID LOADS PACKAGE
+ 311500 1 .
+ 311500 1 java/lang/annotation
+ 311500 1 java/nio/charset/spi
+ 311500 1 java/security/cert
+ 311500 1 sun/net/www/protocol/jar
+ 311500 1 sun/nio
+ 311500 1 sun/reflect/misc
+ 311500 1 sun/security/action
+ 311500 1 sun/security/provider
+ 311500 1 sun/security/util
+ 311500 1 sun/util
+ 311500 2 sun/net/www/protocol/file
+ 311500 3 java/util/concurrent/atomic
+ 311500 3 sun/net/www
+ 311500 4 java/util/concurrent
+ 311500 4 java/util/jar
+ 311500 7 java/nio
+ 311500 7 java/util/concurrent/locks
+ 311500 7 java/util/zip
+ 311500 8 java/nio/charset
+ 311500 10 java/net
+ 311500 12 java/lang/ref
+ 311500 12 java/lang/reflect
+ 311500 13 sun/nio/cs
+ 311500 18 sun/reflect
+ 311500 19 java/security
+ 311500 34 sun/misc
+ 311500 38 java/io
+ 311500 46 java/util
+ 311500 69 java/lang
+
+You can see that 69 classes from the java/lang package were loaded during the
+time this script was running.