1.1 --- a/src/share/vm/memory/cardTableModRefBS.hpp Tue Nov 23 15:01:43 2010 -0500 1.2 +++ b/src/share/vm/memory/cardTableModRefBS.hpp Tue Nov 23 13:22:55 2010 -0800 1.3 @@ -22,6 +22,13 @@ 1.4 * 1.5 */ 1.6 1.7 +#ifndef SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP 1.8 +#define SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP 1.9 + 1.10 +#include "memory/modRefBarrierSet.hpp" 1.11 +#include "oops/oop.hpp" 1.12 +#include "oops/oop.inline2.hpp" 1.13 + 1.14 // This kind of "BarrierSet" allows a "CollectedHeap" to detect and 1.15 // enumerate ref fields that have been modified (since the last 1.16 // enumeration.) 1.17 @@ -490,3 +497,5 @@ 1.18 1.19 void set_CTRS(CardTableRS* rs) { _rs = rs; } 1.20 }; 1.21 + 1.22 +#endif // SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP