summaryrefslogtreecommitdiff
path: root/deps/v8/src/heap/concurrent-allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/heap/concurrent-allocator.h')
-rw-r--r--deps/v8/src/heap/concurrent-allocator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/src/heap/concurrent-allocator.h b/deps/v8/src/heap/concurrent-allocator.h
index fe6144eb7e..bf596cf6de 100644
--- a/deps/v8/src/heap/concurrent-allocator.h
+++ b/deps/v8/src/heap/concurrent-allocator.h
@@ -63,6 +63,12 @@ class ConcurrentAllocator {
V8_EXPORT_PRIVATE AllocationResult AllocateOutsideLab(
int object_size, AllocationAlignment alignment, AllocationOrigin origin);
+ bool IsBlackAllocationEnabled() const;
+
+ // Returns the Heap of space_. This might differ from the LocalHeap's Heap for
+ // shared spaces.
+ Heap* owning_heap() const;
+
LocalHeap* const local_heap_;
PagedSpace* const space_;
LocalAllocationBuffer lab_;