Lines Matching refs:WasmCodeAllocator
515 constexpr size_t WasmCodeAllocator::kMaxCodeSpaceSize;
517 WasmCodeAllocator::WasmCodeAllocator(std::shared_ptr<Counters> async_counters)
526 WasmCodeAllocator::~WasmCodeAllocator() {
531 void WasmCodeAllocator::Init(VirtualMemory code_space) {
622 if (V8_UNLIKELY(minimum_size > WasmCodeAllocator::kMaxCodeSpaceSize)) {
630 WasmCodeAllocator::kMaxCodeSpaceSize);
637 std::min(WasmCodeAllocator::kMaxCodeSpaceSize, suggested_size);
705 base::Vector<byte> WasmCodeAllocator::AllocateForCode(
710 base::Vector<byte> WasmCodeAllocator::AllocateForCodeInRegion(
798 void WasmCodeAllocator::AddWriter() {
803 void WasmCodeAllocator::RemoveWriter() {
822 void WasmCodeAllocator::MakeWritable(base::AddressRegion region) {
838 void WasmCodeAllocator::FreeCode(base::Vector<WasmCode* const> codes) {
878 size_t WasmCodeAllocator::GetNumCodeSpaces() const {
882 void WasmCodeAllocator::InsertIntoWritableRegions(base::AddressRegion region,
961 constexpr base::AddressRegion WasmCodeAllocator::kUnrestrictedRegion;
1009 // precondition of {WasmCodeAllocator::Init}, which calls
1805 return max_distance <= WasmCodeAllocator::kMaxCodeSpaceSize;
1937 // {WasmCodeAllocator::SetWritable(false)} is never called afterwards (e.g.,