diff options
Diffstat (limited to 'deps/v8/src/heap/spaces-inl.h')
-rw-r--r-- | deps/v8/src/heap/spaces-inl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/deps/v8/src/heap/spaces-inl.h b/deps/v8/src/heap/spaces-inl.h index 762558e11b..a12ed6f296 100644 --- a/deps/v8/src/heap/spaces-inl.h +++ b/deps/v8/src/heap/spaces-inl.h @@ -6,9 +6,9 @@ #define V8_HEAP_SPACES_INL_H_ #include "src/heap/spaces.h" -#include "src/heap-profiler.h" #include "src/isolate.h" #include "src/msan.h" +#include "src/profiler/heap-profiler.h" #include "src/v8memory.h" namespace v8 { @@ -356,6 +356,13 @@ AllocationResult PagedSpace::AllocateRawUnaligned(int size_in_bytes) { } +AllocationResult PagedSpace::AllocateRawUnalignedSynchronized( + int size_in_bytes) { + base::LockGuard<base::Mutex> lock_guard(&space_mutex_); + return AllocateRawUnaligned(size_in_bytes); +} + + // Raw allocation. AllocationResult PagedSpace::AllocateRawAligned(int size_in_bytes, AllocationAlignment alignment) { |