src/share/vm/services/heapDumper.hpp
Print this page
*** 20,29 ****
--- 20,37 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_SERVICES_HEAPDUMPER_HPP
+ #define SHARE_VM_SERVICES_HEAPDUMPER_HPP
+
+ #include "memory/allocation.hpp"
+ #include "oops/klassOop.hpp"
+ #include "oops/oop.hpp"
+ #include "runtime/os.hpp"
+
// HeapDumper is used to dump the java heap to file in HPROF binary format:
//
// { HeapDumper dumper(true /* full GC before heap dump */);
// if (dumper.dump("/export/java.hprof")) {
// ResourceMark rm;
*** 71,75 ****
--- 79,85 ----
static void dump_heap() KERNEL_RETURN;
static void dump_heap_from_oome() KERNEL_RETURN;
};
+
+ #endif // SHARE_VM_SERVICES_HEAPDUMPER_HPP