diff options
Diffstat (limited to 'chromium/v8/src/heap/cppgc/heap-space.h')
| -rw-r--r-- | chromium/v8/src/heap/cppgc/heap-space.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/v8/src/heap/cppgc/heap-space.h b/chromium/v8/src/heap/cppgc/heap-space.h index d84207c2cd4..a7e50d4f48d 100644 --- a/chromium/v8/src/heap/cppgc/heap-space.h +++ b/chromium/v8/src/heap/cppgc/heap-space.h @@ -9,6 +9,7 @@ #include "src/base/logging.h" #include "src/base/macros.h" +#include "src/base/platform/mutex.h" #include "src/heap/cppgc/free-list.h" namespace cppgc { @@ -53,6 +54,7 @@ class V8_EXPORT_PRIVATE BaseSpace { private: RawHeap* heap_; Pages pages_; + v8::base::Mutex pages_mutex_; const size_t index_; const PageType type_; }; @@ -92,9 +94,6 @@ class V8_EXPORT_PRIVATE NormalPageSpace final : public BaseSpace { NormalPageSpace(RawHeap* heap, size_t index); - void AddToFreeList(void*, size_t); - void ResetLinearAllocationBuffer(); - LinearAllocationBuffer& linear_allocation_buffer() { return current_lab_; } const LinearAllocationBuffer& linear_allocation_buffer() const { return current_lab_; |
