5#ifndef INCLUDE_EXTERNAL_MEMORY_ACCOUNTER_H_
6#define INCLUDE_EXTERNAL_MEMORY_ACCOUNTER_H_
15
16
17
18
19
20
21
22
26
27
39
40
43
44
47
48
52#ifdef V8_ENABLE_MEMORY_ACCOUNTING_CHECKS
ExternalMemoryAccounter & operator=(ExternalMemoryAccounter &&)
ExternalMemoryAccounter()=default
void Decrease(Isolate *isolate, size_t size)
ExternalMemoryAccounter & operator=(const ExternalMemoryAccounter &)=delete
static int64_t GetTotalAmountOfExternalAllocatedMemoryForTesting(const Isolate *isolate)
ExternalMemoryAccounter(ExternalMemoryAccounter &&)
ExternalMemoryAccounter(const ExternalMemoryAccounter &)=delete
~ExternalMemoryAccounter()
void Update(Isolate *isolate, int64_t delta)
void Increase(Isolate *isolate, size_t size)