comparison src/share/vm/services/heapDumper.hpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents 30f67acf635d
children da91efe96a93
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
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