#include "src/heap/mutable-page-metadata.h"
#include "src/base/logging.h"
#include "src/base/platform/mutex.h"
#include "src/base/platform/platform.h"
#include "src/common/globals.h"
#include "src/heap/incremental-marking.h"
#include "src/heap/marking-state-inl.h"
#include "src/heap/memory-allocator.h"
#include "src/heap/memory-chunk-layout.h"
#include "src/heap/memory-chunk-metadata.h"
#include "src/heap/mutable-page-metadata-inl.h"
#include "src/heap/spaces.h"
#include "src/objects/heap-object.h"
namespace v8 {
namespace internal {
void MutablePageMetadata::DiscardUnusedMemory(Address addr, size_t size) { … }
MutablePageMetadata::MutablePageMetadata(Heap* heap, BaseSpace* space,
size_t chunk_size, Address area_start,
Address area_end,
VirtualMemory reservation,
PageSize page_size)
: … { … }
MemoryChunk::MainThreadFlags MutablePageMetadata::InitialFlags(
Executability executable) const { … }
size_t MutablePageMetadata::CommittedPhysicalMemory() const { … }
void MutablePageMetadata::ReleaseAllocatedMemoryNeededForWritableChunk() { … }
void MutablePageMetadata::ReleaseAllAllocatedMemory() { … }
SlotSet* MutablePageMetadata::AllocateSlotSet(RememberedSetType type) { … }
void MutablePageMetadata::ReleaseSlotSet(RememberedSetType type) { … }
TypedSlotSet* MutablePageMetadata::AllocateTypedSlotSet(
RememberedSetType type) { … }
void MutablePageMetadata::ReleaseTypedSlotSet(RememberedSetType type) { … }
bool MutablePageMetadata::ContainsAnySlots() const { … }
void MutablePageMetadata::ClearLiveness() { … }
int MutablePageMetadata::ComputeFreeListsLength() { … }
#ifdef DEBUG
void MutablePageMetadata::ValidateOffsets(MutablePageMetadata* chunk) { … }
#endif
}
}