--- old/src/share/vm/memory/collectorPolicy.hpp 2010-11-16 18:14:26.000000000 +0100 +++ new/src/share/vm/memory/collectorPolicy.hpp 2010-11-16 18:14:26.000000000 +0100 @@ -22,6 +22,13 @@ * */ +#ifndef SHARE_VM_MEMORY_COLLECTORPOLICY_HPP +#define SHARE_VM_MEMORY_COLLECTORPOLICY_HPP + +#include "memory/barrierSet.hpp" +#include "memory/genRemSet.hpp" +#include "memory/permGen.hpp" + // This class (or more correctly, subtypes of this class) // are used to define global garbage collector attributes. // This includes initialization of generations and any other @@ -334,3 +341,5 @@ void initialize_gc_policy_counters(); }; + +#endif // SHARE_VM_MEMORY_COLLECTORPOLICY_HPP