| Index: src/spaces.h
|
| diff --git a/src/spaces.h b/src/spaces.h
|
| index 96a1a90427f3a5cd8cce00f629d9bd596993890c..a8c981d3828dd89c100ac6b9c4f7e3f557ecfdf2 100644
|
| --- a/src/spaces.h
|
| +++ b/src/spaces.h
|
| @@ -2003,8 +2003,11 @@ class PagedSpace : public Space {
|
| // address denoted by top in allocation_info_.
|
| inline HeapObject* AllocateLinearly(int size_in_bytes);
|
|
|
| + MUST_USE_RESULT HeapObject*
|
| + WaitForSweeperThreadsAndRetryAllocation(int size_in_bytes);
|
| +
|
| // Slow path of AllocateRaw. This function is space-dependent.
|
| - MUST_USE_RESULT virtual HeapObject* SlowAllocateRaw(int size_in_bytes);
|
| + MUST_USE_RESULT HeapObject* SlowAllocateRaw(int size_in_bytes);
|
|
|
| friend class PageIterator;
|
| friend class MarkCompactCollector;
|
|
|