#include "src/heap/code-range.h"
#include <algorithm>
#include <atomic>
#include <limits>
#include <utility>
#include "src/base/bits.h"
#include "src/base/lazy-instance.h"
#include "src/base/once.h"
#include "src/codegen/constants-arch.h"
#include "src/common/globals.h"
#include "src/flags/flags.h"
#include "src/heap/heap-inl.h"
#include "src/utils/allocation.h"
#if defined(V8_OS_WIN64)
#include "src/diagnostics/unwinding-info-win64.h"
#endif
namespace v8 {
namespace internal {
namespace {
DEFINE_LAZY_LEAKY_OBJECT_GETTER(…)
void FunctionInStaticBinaryForAddressHint() { … }
}
Address CodeRangeAddressHint::GetAddressHint(size_t code_range_size,
size_t alignment) { … }
void CodeRangeAddressHint::NotifyFreedCodeRange(Address code_range_start,
size_t code_range_size) { … }
CodeRange::~CodeRange() { … }
size_t CodeRange::GetWritableReservedAreaSize() { … }
#define TRACE(...) …
bool CodeRange::InitReservation(v8::PageAllocator* page_allocator,
size_t requested, bool immutable) { … }
base::AddressRegion CodeRange::GetPreferredRegion(size_t radius_in_megabytes,
size_t allocate_page_size) { … }
void CodeRange::Free() { … }
uint8_t* CodeRange::RemapEmbeddedBuiltins(Isolate* isolate,
const uint8_t* embedded_blob_code,
size_t embedded_blob_code_size) { … }
}
}