Index: src/spaces.h |
=================================================================== |
--- src/spaces.h (revision 10961) |
+++ src/spaces.h (working copy) |
@@ -31,6 +31,7 @@ |
#include "allocation.h" |
#include "list.h" |
#include "log.h" |
+#include "hashmap.h" |
namespace v8 { |
namespace internal { |
@@ -2536,6 +2537,7 @@ |
intptr_t size_; // allocated bytes |
int page_count_; // number of chunks |
intptr_t objects_size_; // size of objects |
+ HashMap map_; // speed up containing pointer check |
Vyacheslav Egorov (Chromium)
2012/03/08 11:41:23
Consider more meaningful name and comment. For exa
|
friend class LargeObjectIterator; |