Index: src/heap.cc |
=================================================================== |
--- src/heap.cc (revision 9623) |
+++ src/heap.cc (working copy) |
@@ -5450,7 +5450,7 @@ |
// The large object code space may contain code or data. We set the memory |
// to be non-executable here for safety, but this means we need to enable it |
// explicitly when allocating large code objects. |
- lo_space_ = new LargeObjectSpace(this, LO_SPACE); |
+ lo_space_ = new LargeObjectSpace(this, max_old_generation_size_, LO_SPACE); |
if (lo_space_ == NULL) return false; |
if (!lo_space_->Setup()) return false; |
if (create_heap_objects) { |