src/share/vm/memory/cardTableModRefBS.hpp
Print this page
@@ -20,10 +20,17 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+#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.)
// As it currently stands, this barrier is *imprecise*: when a ref field in
@@ -488,5 +495,7 @@
int max_covered_regions) :
CardTableModRefBS(whole_heap, max_covered_regions) {}
void set_CTRS(CardTableRS* rs) { _rs = rs; }
};
+
+#endif // SHARE_VM_MEMORY_CARDTABLEMODREFBS_HPP