JRMC commands and their outputs:
Command:
jrcmd 864 print_class_summaryOutput:
*****class java/security/cert/CertificateParsingException
****class java/security/SignatureException
****class java/security/DigestException
****class java/security/NoSuchProviderException
****class java/security/NoSuchAlgorithmException
***class javax/naming/NamingException
****class javax/naming/CommunicationException
****class javax/naming/NameAlreadyBoundException
****class javax/naming/NamingSecurityException
*****class javax/naming/NoPermissionException
****class javax/naming/NameNotFoundException
*****class weblogic/jndi/internal/AdminModeAccessException
****class javax/naming/ConfigurationException
****class javax/naming/InvalidNameException
***class java/lang/InterruptedException
*****class java/rmi/server/ExportException
****class javax/management/remote/JMXProviderException
****class java/nio/charset/CharacterCodingException
****class java/io/EOFException
****class java/util/zip/ZipException
****class java/io/FileNotFoundException
*****class weblogic/utils/jars/JarFileUtils$PathLengthException
****class java/net/UnknownHostException
****class java/net/MalformedURLException
****class java/io/UnsupportedEncodingException
***class java/lang/IllegalAccessException
***class java/lang/ClassNotFoundException
***class java/security/PrivilegedActionException
***class java/lang/NoSuchFieldException
***class java/lang/reflect/InvocationTargetException
***class java/lang/RuntimeException
****class org/apache/commons/beanutils/ConversionException
****class org/apache/beehive/netui/util/config/ConfigInitializationException
****class org/apache/commons/logging/LogConfigurationException
****class javax/xml/rpc/soap/SOAPFaultException
****class javax/xml/rpc/JAXRPCException
****class org/apache/commons/beanutils/ConversionException
****class org/apache/beehive/netui/util/config/ConfigInitializationException
****class java/lang/annotation/IncompleteAnnotationException
****class weblogic/xml/schema/binding/util/ClassUtil$ClassUtilException
****class com/sun/org/apache/xerces/internal/impl/xpath/regex/ParseException
****class org/apache/commons/logging/LogConfigurationException
****class javax/ejb/EJBException
****class org/apache/oro/text/MalformedCachePatternException
*****class org/apache/oro/text/perl/MalformedPerl5PatternException
****class weblogic/wsee/deploy/WSEEServletEndpointException
****class weblogic/cluster/migration/MigrationException
****class weblogic/rmi/extensions/NotImplementedException
****class sun/security/util/PendingException
****class com/bea/common/engine/SecurityServiceRuntimeException
*****class com/bea/common/engine/InvalidParameterException
*****class com/sun/org/apache/xerces/internal/xni/parser/XMLParseException
*****class com/sun/org/apache/xerces/internal/xni/parser/XMLConfigurationExcepti
on
****class com/bea/xml/XmlRuntimeException
*****class com/bea/xml/SchemaTypeLoaderException
****class com/bea/xbean/regex/ParseException
****class com/bea/xbean/values/XmlValueDisconnectedException
****class weblogic/utils/NestedRuntimeException
*****class weblogic/security/providers/authentication/LDAPAtnDelegateException
*****class weblogic/security/SecurityInitializationException
*****class weblogic/ldap/EmbeddedLDAPException
*****class weblogic/security/internal/encryption/EncryptionServiceException
***class javax/xml/parsers/FactoryFinder$ConfigurationError
***class weblogic/utils/NestedError
****class weblogic/management/configuration/ConfigurationError
****class weblogic/utils/AssertionError
***class sun/management/AgentConfigurationError
***class bea/jrockit/management/server/Main$AgentError
***class java/lang/AssertionError
***class java/lang/VirtualMachineError
****class java/lang/UnknownError
****class java/lang/InternalError
****class java/lang/OutOfMemoryError
****class java/lang/StackOverflowError
*class java/lang/Thread
**class weblogic/deploy/api/spi/deploy/WebLogicDeploymentManagerImpl$1
**class weblogic/platform/GCMonitorThread
**class com/octetstring/vde/DoSManager
**class com/octetstring/vde/frontend/LDAP
**class com/octetstring/vde/backend/standard/TransactionProcessor
**class com/octetstring/vde/util/TimedActivityThread
**class com/octetstring/vde/LDAPServer
**class weblogic/timers/internal/TimerThread$Thread
**class weblogic/t3/srvr/T3Srvr$2
**class weblogic/kernel/AuditableThread
***class weblogic/server/channels/ServerThread
***class weblogic/kernel/ExecuteThread
****class weblogic/kernel/ServerExecuteThread
***class weblogic/work/ExecuteThread
**class weblogic/t3/srvr/ShutdownOnExitThread
**class java/util/TimerThread
**class java/util/logging/LogManager$Cleaner
**class java/lang/ref/Reference$ReferenceHandler
*class jrockit/vm/RNI
*class jrockit/vm/Reflect
*class jrockit/vm/VM
**class jrockit/vm/Locks
*class jrockit/vm/AccessController
*class java/lang/reflect/AccessibleObject
**class java/lang/reflect/Constructor
**class java/lang/reflect/Field
**class java/lang/reflect/Method
*class java/lang/String
*class [Z
*class [S
*class [D
*class [F
*class [J
*class [I
*class [C
*class [B
*class java/lang/Class
^^^^^^ Class Summary Information ends here   ^^^^^^
Command:
jrcmd 864 print_object_summary increaseonly=true
864:
Output
--------- Detailed Heap Statistics: ---------
36.4% 10151k   125390 +10151k [C
11.2% 3119k   133108  +3119k java/lang/String
 4.7% 1304k    11928  +1304k java/lang/Class
 4.4% 1215k     2722  +1215k [B
 3.4% 946k    10371   +946k [Ljava/util/HashMap$Entry;
 3.2% 889k    37944   +889k java/util/HashMap$Entry
 2.5% 701k     9127   +701k [Ljava/lang/Object;
 1.8% 512k    16401   +512k java/util/TreeMap$Entry
 1.6% 439k    23655   +439k [Lcom/bea/staxb/buildtime/internal/bts/JavaTypeName;
 1.5% 410k    13138   +410k java/util/LinkedHashMap$Entry
 1.5% 409k     7479   +409k com/bea/staxb/buildtime/internal/bts/QNameProperty
 1.4% 387k    16512   +387k java/util/Hashtable$Entry
 1.4% 382k     8155   +382k java/util/HashMap
 1.3% 367k    23536   +367k com/bea/staxb/buildtime/internal/bts/MethodName
 1.2% 339k    14505   +339k javax/xml/namespace/QName
 1.1% 308k    13173   +308k com/bea/staxb/buildtime/internal/bts/JavaTypeName
 1.0% 283k     1197   +283k [I
 0.9% 256k     2875   +256k [Ljava/util/Hashtable$Entry;
 0.8% 211k     2704   +211k com/bea/staxb/runtime/internal/ByNameRuntimeBindingType$ElementQNameProperty
 0.7% 206k     5539   +206k [Ljava/lang/String;
 0.7% 194k     2492   +194k java/lang/reflect/Method
 0.7% 183k     5860   +183k java/lang/ref/SoftReference
 0.5% 144k     6171   +144k java/lang/ref/WeakReference
     27856kB total ---
--------- End of Detailed Heap Statistics ---
Command:
jrcmd 864 print_threads
Output:
===== FULL THREAD DUMP ===============
Thu Jan 28 01:41:58 2010
BEA JRockit(R) R27.2.0-131-78843-1.5.0_10-20070320-1457-windows-ia32
"Main Thread" id=1 idx=0x4 tid=236 prio=5 alive, in native, waiting
    -- Waiting for notification on: weblogic/t3/srvr/T3Srvr@0x0ABAF240[fat lock]
    at jrockit/vm/Threads.waitForSignal(J)Z(Native Method)
    at java/lang/Object.wait(J)V(Native Method)
    at java/lang/Object.wait(Object.java:474)
    at weblogic/t3/srvr/T3Srvr.waitForDeath(T3Srvr.java:730)
    ^-- Lock released while waiting: weblogic/t3/srvr/T3Srvr@0x0ABAF240[fat lock]
    at weblogic/t3/srvr/T3Srvr.run(T3Srvr.java:380)
    at weblogic/Server.main(Server.java:67)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace
"(Signal Handler)" id=2 idx=0x8 tid=1872 prio=5 alive, in native, daemon
"(Code Generation Thread 1)" id=3 idx=0xc tid=2956 prio=5 alive, in native, native
_waiting, daemon
"(Code Optimization Thread 1)" id=4 idx=0x10 tid=2880 prio=5 alive, in native, nat
ive_waiting, daemon
"(GC Main Thread)" id=5 idx=0x14 tid=2064 prio=5 alive, in native, daemon
"(GC Worker Thread 1)" id=? idx=0x18 tid=1136 prio=5 alive, in native, native_wait
ing, daemon
"(GC Worker Thread 2)" id=? idx=0x1c tid=2056 prio=5 alive, in native, native_wait
ing, daemon
"(VM Periodic Task)" id=6 idx=0x20 tid=3284 prio=10 alive, in native, daemon
"(Attach Listener)" id=7 idx=0x24 tid=2392 prio=5 alive, in native, daemon
"Finalizer" id=8 idx=0x28 tid=2368 prio=8 alive, in native, native_waiting, daemon
    at jrockit/memory/Finalizer.getPendingFinalizee(Z)Ljava/lang/Object;(Native Me
thod)
    at jrockit/memory/Finalizer.access$100(Z)Ljava/lang/Object;(Unknown Source)
    at jrockit/memory/Finalizer$4.run()V(Unknown Source)
    at java/lang/Thread.run(Thread.java:595)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace
"Reference Handler" id=9 idx=0x2c tid=2312 prio=10 alive, in native, native_waitin
g, daemon
    at java/lang/ref/Reference.getPending()Ljava/lang/ref/Reference;(Native Method
)
    at java/lang/ref/Reference.access$000()Ljava/lang/ref/Reference;(Unknown Sourc
e)
    at java/lang/ref/Reference$ReferenceHandler.run()V(Unknown Source)
    at jrockit/vm/RNI.c2java(IIII)V(Native Method)
    -- end of trace
"(Sensor Event Thread)" id=10 idx=0x30 tid=2952 prio=5 alive, in native, daemon
----------
===== END OF THREAD DUMP ===============
Command:
>
jrcmd 864 verbosity set=memory,memdbg,codegen,opt,sampling filename="output.log"864:
Output
Current logstatus:
        jrockit : level=WARN, decorations=101, sanity=NONE
        memory (gc) : level=INFO, decorations=101, sanity=NONE
        nursery (yc) : level=WARN, decorations=101, sanity=NONE
        model : level=WARN, decorations=101, sanity=NONE
        devirtual : level=WARN, decorations=101, sanity=NONE
        codegen (code) : level=INFO, decorations=101, sanity=NONE
        native (jni) : level=WARN, decorations=101, sanity=NONE
        thread : level=WARN, decorations=101, sanity=NONE
        opt : level=INFO, decorations=101, sanity=NONE
        load (lib) : level=WARN, decorations=101, sanity=NONE
        ssa : level=WARN, decorations=101, sanity=NONE
        constprop : level=WARN, decorations=101, sanity=NONE
        inline : level=WARN, decorations=101, sanity=NONE
        preprocess : level=WARN, decorations=101, sanity=NONE
        jvmpi : level=WARN, decorations=101, sanity=NONE
        memdbg : level=INFO, decorations=101, sanity=NONE
        jvmtidbg : level=WARN, decorations=101, sanity=NONE
        sampling (hotspot) : level=INFO, decorations=101, sanity=NONE
        cpuinfo : level=WARN, decorations=101, sanity=NONE
        cpuid : level=WARN, decorations=101, sanity=NONE
        sym : level=WARN, decorations=101, sanity=NONE
        codegc : level=WARN, decorations=101, sanity=NONE
        classgc : level=WARN, decorations=101, sanity=NONE
        errorsim (esim) : level=WARN, decorations=101, sanity=NONE
        memprof (mp) : level=WARN, decorations=101, sanity=NONE
        jvmti : level=WARN, decorations=101, sanity=NONE
        gcpause : level=WARN, decorations=101, sanity=NONE
        gcreport : level=WARN, decorations=101, sanity=NONE
        finalizer : level=WARN, decorations=101, sanity=NONE
        jripc : level=WARN, decorations=101, sanity=NONE
        memleak : level=WARN, decorations=101, sanity=NONE
        compaction : level=WARN, decorations=101, sanity=NONE
        dpgo : level=WARN, decorations=101, sanity=NONE
        license : level=WARN, decorations=101, sanity=NONE
        tasks : level=WARN, decorations=101, sanity=NONE
        exceptions : level=WARN, decorations=141, sanity=NONE
        stackoverflow : level=WARN, decorations=141, sanity=NONE
        sysgc (systemgc) : level=WARN, decorations=101, sanity=NONE
        locks : level=WARN, decorations=101, sanity=NONE
        strcmp : level=WARN, decorations=101, sanity=NONE
        bca : level=WARN, decorations=101, sanity=NONE
        ir : level=WARN, decorations=101, sanity=NONE
        starttime : level=WARN, decorations=101, sanity=NONE
        largepages : level=WARN, decorations=101, sanity=NONE
        mgmnt (management) : level=WARN, decorations=101, sanity=NONE
        jmm : level=WARN, decorations=101, sanity=NONE
        perf : level=WARN, decorations=101, sanity=NONE
        attach : level=WARN, decorations=101, sanity=NONE
        referents (verboserefs) : level=WARN, decorations=101, sanity=NONE
        class : level=WARN, decorations=101, sanity=NONE
        intrinsics (intrinsic) : level=WARN, decorations=101, sanity=NONE
        verify (verifier) : level=WARN, decorations=101, sanity=NONE
        jra : level=WARN, decorations=101, sanity=NONE
        timing : level=WARN, decorations=101, sanity=NONE
Command:
>jrcmd 864 timestamp864:
Output:
==== Timestamp ====  uptime: 0 days, 00:17:34 time: Thu Jan 28 01:46:22 2010
Command:>jrcmd 864 print_memusage
864:
[JRockit] memtrace is collecting data...
[JRockit] *** 0th memory utilization report
(all numbers are in kbytes)
Total mapped                         ;;;;;;; 733268
; Total in-use                        ;;;;;; 415560
;;  executable                         ;;;;;  11572
;;;   java code                         ;;;;   5952;   51.4%
;;;;    used                             ;;;   5626;   94.5%
;;  shared modules (exec+ro+rw)        ;;;;;  14168
;;  guards                             ;;;;;    544
;;  readonly                           ;;;;;   2536
;;  rw-memory                          ;;;;; 398312
;;;   Java-heap                         ;;;; 262144;   65.8%
;;;   Stacks                            ;;;;   4008;   1.0%
;;;   Native-memory                     ;;;; 132159;   33.2%
;;;;    java-heap-overhead               ;;;  10155
;;;;    codegen memory                   ;;;   1088
;;;;    classes                          ;;;  56320;   42.6%
;;;;;     method bytecode                 ;;   6374
;;;;;     method structs                  ;;   6889    (#146974)
;;;;;     constantpool                    ;;  23334
;;;;;     classblock                      ;;   2185
;;;;;     class                           ;;   3703    (#11938)
;;;;;     other classdata                 ;;   8443
;;;;;     overhead                        ;;    442
;;;;    threads                          ;;;     20;   0.0%
;;;;    malloc:ed memory                 ;;;  29814;   22.6%
;;;;;     codeinfo                        ;;   1306
;;;;;     codeinfotrees                   ;;    492
;;;;;     exceptiontables                 ;;    170
;;;;;     metainfo/livemaptable           ;;   5894
;;;;;     codeblock structs               ;;      2
;;;;;     constants                       ;;     10
;;;;;     livemap global tables           ;;   1027
;;;;;     callprof cache                  ;;      0
;;;;;     paraminfo                       ;;    116    (#1622)
;;;;;     strings                         ;;  10863    (#185955)
;;;;;     strings(jstring)                ;;      0
;;;;;     typegraph                       ;;   2871
;;;;;     interface implementor list      ;;    283
;;;;;     thread contexts                 ;;     25
;;;;;     jar/zip memory                  ;;   9862
;;;;;     native handle memory            ;;     21
;;;;    unaccounted for memory           ;;;  34781;   26.3%;1.17
---------------------!!!
Command:>jrcmd 864 heap_diagnostics
Output:
======== BEGIN OF HEAPDIAGNOSTIC =========================
Invoked from diagnosticcommand
Total memory in system: 8377249792 bytes
Available physical memory in system: 1293717504 bytes
-Xmx (maximal heap size) is 4294967296 bytes
Heapsize: 4294967296 bytes
Free heap-memory: 3712605608 bytes
mmStartCompaction = 0x2b1e042b0000, mmEndCompaction = 0x2b1e082b0018
Memory layout:
00010000-003d0000 rwxp 00010000 00:00 0
00400000-00412000 r-xp 00000000 fd:04 1287492                            /opt/jrmc-3.1.0-1.5.0/bin/java
00420000-004e0000 rwxp 00420000 00:00 0
00511000-00513000 rwxp 00011000 fd:04 1287492                            /opt/jrmc-3.1.0-1.5.0/bin/java
00520000-07d60000 rwxp 00520000 00:00 0
07d7a000-0f9a5000 rwxp 07d7a000 00:00 0
0f9b0000-15ff0000 rwxp 0f9b0000 00:00 0
4005b000-4005d000 rwxp 4005b000 00:00 0
4005d000-40060000 ---p 4005d000 00:00 0
40060000-4009f000 rwxp 40060000 00:00 0
4009f000-400a2000 ---p 4009f000 00:00 0
--------- Detailed Heap Statistics: ---------
21.5% 72399k   637351     +0k [C
8.6% 29000k   281013     +0k [Ljava/lang/Object;
6.5% 21797k   697514     +0k java/lang/String
5.1% 17145k    31500    -59k [B
4.1% 13697k    87524     +0k [Ljava/util/HashMap$Entry;
2.7% 9274k    65950     +0k java/lang/reflect/Method
2.4% 8101k   207404     +0k java/util/HashMap$Entry
2.0% 6778k   173542     +0k com/bea/common/security/xacml/attr/StringAttribute
2.0% 6629k    33943     +0k java/lang/Class
    337244kB total ---
--------- End of Detailed Heap Statistics ---
----- Reference Objects statistics separated per class -----
   Total Reach Act PrevAct Null
   ----- ----- --- ------- ----
Finalizers:
       5     2   3       0    0 Total for all Finalizers
       2     1   1       0    0 => java/net/SocksSocketImpl
       1     0   1       0    0 => weblogic/socket/WeblogicSocket
       1     1   0       0    0 => java/net/SocketInputStream
       1     0   1       0    0 => java/net/SocketOutputStream
----- End of Reference Objects statistics -----
------------------- Printing heap ---------------------
"o"/"p" = 1k normal/pinned objects
"O"/"P" = 50k normal/pinned objects
"."/"/" = <1k normal/pinned objects (fragmentation)
" "/"_" = 1k/50k free space
-------------------------------------------------------
//////o///o/p/oo/OOOoooooooooooooooooooooo/OOooooo      0x2b1dfe2f7c70
ooooooooo/OOOOOOooooooooooo/Oooooooooooooooooooooo      0x2b1dfe357b98
ooooooooooooo..        OOOOOOOoooooooooooooo./oooo      0x2b1dfe3b7ac0
oooooooooooooooooooooooo/OOooooooooooooooooooooooo      0x2b1dfe3dbce0
oooooooooooooooooooo/oooooooooooooooo/OOOOOooooooo      0x2b1dfe423d38
oooooooooooooooooooooooooooo.   OOOooooooooooooooo      0x2b1dfe453ec0
ooooooooooooooooooooooooooo//.....................      0x2b1dfe460210
..............................Ooooooooooo/OOOOoooo      0x2b1dfe4a8268
the available commands are:
kill_rmp_server
start_rmp_server
kill_management_server
start_management_server
checkjrarecording
stopjrarecording
startjrarecording
print_object_summary
memleakserver
print_class_summary
print_codegenlist
run_optfile
dump_codelayout
dump_codelist
dump_codemap
print_utf8pool
print_properties
print_threads
datadump_request
runsystemgc
runfinalization
heap_diagnostics
oom_diagnostics
print_exceptions
version
timestamp
command_line
sanity
verbosity
set_filename
help
print_memusage
Reference Links:
http://www.oracle.com/technology/products/jrockit/pdf/missioncontrol_whitepaper_june08.pdf
http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/ctrlbreakhndlr.html