5 #ifndef V8_HEAP_INVALIDATED_SLOTS_H_ 6 #define V8_HEAP_INVALIDATED_SLOTS_H_ 11 #include "src/allocation.h" 12 #include "src/base/atomic-utils.h" 13 #include "src/utils.h" 24 using InvalidatedSlots = std::map<HeapObject*, int>;
35 inline bool IsValid(
Address slot);
38 InvalidatedSlots::const_iterator iterator_;
39 InvalidatedSlots::const_iterator iterator_end_;
44 int invalidated_object_size_;
45 bool slots_in_free_space_are_valid_;
46 InvalidatedSlots empty_;
55 #endif // V8_HEAP_INVALIDATED_SLOTS_H_