diff -r 518b01b064ff -r 5b173b4ca846 hotspot/src/share/vm/memory/sharedHeap.hpp --- a/hotspot/src/share/vm/memory/sharedHeap.hpp Tue Nov 23 15:01:43 2010 -0500 +++ b/hotspot/src/share/vm/memory/sharedHeap.hpp Tue Nov 23 13:22:55 2010 -0800 @@ -22,6 +22,13 @@ * */ +#ifndef SHARE_VM_MEMORY_SHAREDHEAP_HPP +#define SHARE_VM_MEMORY_SHAREDHEAP_HPP + +#include "gc_interface/collectedHeap.hpp" +#include "memory/generation.hpp" +#include "memory/permGen.hpp" + // A "SharedHeap" is an implementation of a java heap for HotSpot. This // is an abstract class: there may be many different kinds of heaps. This // class defines the functions that a heap must implement, and contains @@ -285,3 +292,5 @@ size_t bytes_after, size_t capacity); }; + +#endif // SHARE_VM_MEMORY_SHAREDHEAP_HPP