--- old/src/share/vm/memory/cardTableModRefBS.hpp 2010-11-16 18:14:21.000000000 +0100 +++ new/src/share/vm/memory/cardTableModRefBS.hpp 2010-11-16 18:14:21.000000000 +0100 @@ -22,6 +22,13 @@ * */ +#ifndef SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP +#define SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP + +#include "memory/modRefBarrierSet.hpp" +#include "oops/oop.hpp" +#include "oops/oop.inline2.hpp" + // This kind of "BarrierSet" allows a "CollectedHeap" to detect and // enumerate ref fields that have been modified (since the last // enumeration.) @@ -490,3 +497,5 @@ void set_CTRS(CardTableRS* rs) { _rs = rs; } }; + +#endif // SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP