1.1 --- a/src/share/vm/gc_interface/collectedHeap.hpp Tue Nov 23 15:01:43 2010 -0500 1.2 +++ b/src/share/vm/gc_interface/collectedHeap.hpp Tue Nov 23 13:22:55 2010 -0800 1.3 @@ -22,6 +22,16 @@ 1.4 * 1.5 */ 1.6 1.7 +#ifndef SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_HPP 1.8 +#define SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_HPP 1.9 + 1.10 +#include "gc_interface/gcCause.hpp" 1.11 +#include "memory/allocation.hpp" 1.12 +#include "memory/barrierSet.hpp" 1.13 +#include "runtime/handles.hpp" 1.14 +#include "runtime/perfData.hpp" 1.15 +#include "runtime/safepoint.hpp" 1.16 + 1.17 // A "CollectedHeap" is an implementation of a java heap for HotSpot. This 1.18 // is an abstract class: there may be many different kinds of heaps. This 1.19 // class defines the functions that a heap must implement, and contains 1.20 @@ -644,3 +654,5 @@ 1.21 _heap->set_gc_cause(_previous_cause); 1.22 } 1.23 }; 1.24 + 1.25 +#endif // SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_HPP