namespace collector { class GarbageCollector; class MarkSweep;
} // namespace collector namespace space { class ContinuousSpace;
} // namespace space
class Heap;
namespace accounting {
// The remembered set keeps track of cards that may contain references // from the free list spaces to the bump pointer spaces. class RememberedSet { public: using CardSet = std::set<uint8_t*,
std::less<uint8_t*>,
TrackingAllocator<uint8_t*, kAllocatorTagRememberedSet>>;
// Clear dirty cards and add them to the dirty card set. void ClearCards();
// Mark through all references to the target space. void UpdateAndMarkReferences(space::ContinuousSpace* target_space,
collector::GarbageCollector* collector)
REQUIRES(Locks::heap_bitmap_lock_)
REQUIRES_SHARED(Locks::mutator_lock_);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.