Index: src/spaces.h |
=================================================================== |
--- src/spaces.h (revision 9624) |
+++ src/spaces.h (working copy) |
@@ -2442,7 +2442,7 @@ |
class LargeObjectSpace : public Space { |
public: |
- LargeObjectSpace(Heap* heap, AllocationSpace id); |
+ LargeObjectSpace(Heap* heap, intptr_t max_capacity, AllocationSpace id); |
virtual ~LargeObjectSpace() {} |
// Initializes internal data structures. |
@@ -2512,6 +2512,7 @@ |
bool SlowContains(Address addr) { return !FindObject(addr)->IsFailure(); } |
private: |
+ intptr_t max_capacity_; |
// The head of the linked list of large object chunks. |
LargePage* first_page_; |
intptr_t size_; // allocated bytes |