--- a/hotspot/src/share/vm/memory/cardTableModRefBS.hpp Tue Nov 23 15:01:43 2010 -0500
+++ b/hotspot/src/share/vm/memory/cardTableModRefBS.hpp Tue Nov 23 13:22:55 2010 -0800
@@ -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