hotspot/src/share/vm/services/heapDumper.hpp
changeset 7397 5b173b4ca846
parent 6445 64694b1e56e7
child 13728 882756847a04
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
       
    24 
       
    25 #ifndef SHARE_VM_SERVICES_HEAPDUMPER_HPP
       
    26 #define SHARE_VM_SERVICES_HEAPDUMPER_HPP
       
    27 
       
    28 #include "memory/allocation.hpp"
       
    29 #include "oops/klassOop.hpp"
       
    30 #include "oops/oop.hpp"
       
    31 #include "runtime/os.hpp"
    24 
    32 
    25 // HeapDumper is used to dump the java heap to file in HPROF binary format:
    33 // HeapDumper is used to dump the java heap to file in HPROF binary format:
    26 //
    34 //
    27 //  { HeapDumper dumper(true /* full GC before heap dump */);
    35 //  { HeapDumper dumper(true /* full GC before heap dump */);
    28 //    if (dumper.dump("/export/java.hprof")) {
    36 //    if (dumper.dump("/export/java.hprof")) {
    71 
    79 
    72   static void dump_heap()    KERNEL_RETURN;
    80   static void dump_heap()    KERNEL_RETURN;
    73 
    81 
    74   static void dump_heap_from_oome()    KERNEL_RETURN;
    82   static void dump_heap_from_oome()    KERNEL_RETURN;
    75 };
    83 };
       
    84 
       
    85 #endif // SHARE_VM_SERVICES_HEAPDUMPER_HPP