Revision: 3758
Author: [email protected]
Date: Mon Feb 1 07:16:26 2010
Log: Temporarily allocate all function contexts in old space and
force the system to use the full compiler to momentarily get
better test coverage.
This change will be reverted once the unit tests have finished
running.
Review URL: http://codereview.chromium.org/552257
http://code.google.com/p/v8/source/detail?r=3758
Modified:
/branches/bleeding_edge/src/flag-definitions.h
/branches/bleeding_edge/src/heap.cc
=======================================
--- /branches/bleeding_edge/src/flag-definitions.h Fri Jan 29 07:29:33 2010
+++ /branches/bleeding_edge/src/flag-definitions.h Mon Feb 1 07:16:26 2010
@@ -145,7 +145,7 @@
"minimum length for automatic enable preparsing")
DEFINE_bool(full_compiler, true, "enable dedicated backend for run-once
code")
DEFINE_bool(fast_compiler, false, "enable speculative optimizing backend")
-DEFINE_bool(always_full_compiler, false,
+DEFINE_bool(always_full_compiler, true,
"try to use the dedicated run-once backend for all code")
DEFINE_bool(always_fast_compiler, false,
"try to use the speculative optimizing backend for all code")
=======================================
--- /branches/bleeding_edge/src/heap.cc Fri Jan 29 04:41:11 2010
+++ /branches/bleeding_edge/src/heap.cc Mon Feb 1 07:16:26 2010
@@ -3013,7 +3013,7 @@
Object* Heap::AllocateFunctionContext(int length, JSFunction* function) {
ASSERT(length >= Context::MIN_CONTEXT_SLOTS);
- Object* result = Heap::AllocateFixedArray(length);
+ Object* result = Heap::AllocateFixedArray(length, TENURED);
if (result->IsFailure()) return result;
Context* context = reinterpret_cast<Context*>(result);
context->set_map(context_map());
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev