--- old/src/share/vm/services/heapDumper.hpp 2010-11-16 18:21:09.000000000 +0100 +++ new/src/share/vm/services/heapDumper.hpp 2010-11-16 18:21:08.000000000 +0100 @@ -22,6 +22,14 @@ * */ +#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 */); @@ -73,3 +81,5 @@ static void dump_heap_from_oome() KERNEL_RETURN; }; + +#endif // SHARE_VM_SERVICES_HEAPDUMPER_HPP