5 #ifndef V8_HEAP_ARRAY_BUFFER_COLLECTOR_H_ 6 #define V8_HEAP_ARRAY_BUFFER_COLLECTOR_H_ 10 #include "src/base/platform/mutex.h" 11 #include "src/objects/js-array-buffer.h" 33 void QueueOrFreeGarbageAllocations(
34 std::vector<JSArrayBuffer::Allocation> allocations);
37 void FreeAllocations();
44 void PerformFreeAllocations();
48 std::vector<std::vector<JSArrayBuffer::Allocation>> allocations_;
54 #endif // V8_HEAP_ARRAY_BUFFER_COLLECTOR_H_