com.ibm.ia.common.debug

Class DebugDataCapture

  • java.lang.Object
    • com.ibm.ia.common.debug.DebugDataCapture


  • public class DebugDataCapture
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      DebugDataCapture() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static void dumpClassLoadingInfo() 
      static void dumpGCInfo() 
      static void dumpMemoryInfo() 
      static void dumpMemoryManagerInfo() 
      static void dumpMemoryPoolInfo() 
      static void dumpOSInfo() 
      static void dumpRT() 
      static void dumpRuntimeInfo() 
      static void dumpThreadDiagnosticInfo() 
      static void dumpThreadInfo() 
      static java.lang.String heapDumpToFile(java.lang.String directory)
      Heapdumps capture the heap graph in php format by default.
      static java.lang.String javaDumpToFile(java.lang.String directory)
      Javadumps are an internally generated and formatted analysis of the JVM, giving information that includes the Javaâ„¢ threads present, the classes loaded, thread locks and heap statistics.
      static void main(java.lang.String[] args) 
      static java.lang.String snapDumpToFile(java.lang.String directory)
      Snapdumps contain the tracepoint data held in the trace buffers.
      static java.lang.String systemDumpToFile(java.lang.String directory)
      System dumps (aka core dumps) involve dumping the address space and as such are generally very large.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DebugDataCapture

        public DebugDataCapture()
    • Method Detail

      • heapDumpToFile

        public static java.lang.String heapDumpToFile(java.lang.String directory)
        Heapdumps capture the heap graph in php format by default. All Java objects are stored in the heap, thus helping to find the objects that are controlling large amounts of memory.
        Returns:
      • javaDumpToFile

        public static java.lang.String javaDumpToFile(java.lang.String directory)
        Javadumps are an internally generated and formatted analysis of the JVM, giving information that includes the Javaâ„¢ threads present, the classes loaded, thread locks and heap statistics. A JavaDump is in a human-readable format, and summarizes the state of the JVM. For guidance in interpreting a Javadump see: http://publib.boulder.ibm.com/infocenter/realtime/v1r0/topic/com.ibm.rt.doc.10/diag/tools/javadump_interpret.html
      • snapDumpToFile

        public static java.lang.String snapDumpToFile(java.lang.String directory)
        Snapdumps contain the tracepoint data held in the trace buffers. The snap dump format is not human-readable and must be processed using the trace formatting tool supplied with the IBM JVM.
      • systemDumpToFile

        public static java.lang.String systemDumpToFile(java.lang.String directory)
        System dumps (aka core dumps) involve dumping the address space and as such are generally very large. A system dump is a raw binary dump of the process memory and requires native tools (eg gdb on Linux or windbg on Windows) to read. For a platform independent viewer see: http://publib.boulder.ibm.com/infocenter/realtime/v1r0/topic/com.ibm.rt.doc.10/diag/tools/dump_viewer.html
      • dumpRT

        public static void dumpRT()
      • dumpThreadInfo

        public static void dumpThreadInfo()
      • dumpRuntimeInfo

        public static void dumpRuntimeInfo()
      • dumpGCInfo

        public static void dumpGCInfo()
      • dumpMemoryInfo

        public static void dumpMemoryInfo()
      • dumpMemoryManagerInfo

        public static void dumpMemoryManagerInfo()
      • dumpMemoryPoolInfo

        public static void dumpMemoryPoolInfo()
      • dumpClassLoadingInfo

        public static void dumpClassLoadingInfo()
      • dumpOSInfo

        public static void dumpOSInfo()
      • dumpThreadDiagnosticInfo

        public static void dumpThreadDiagnosticInfo()
      • main

        public static void main(java.lang.String[] args)

© Copyright IBM 2017