Enable optimizing JSFunctions that are in new-space.
authorfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 2 Mar 2011 10:16:47 +0000 (10:16 +0000)
committerfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 2 Mar 2011 10:16:47 +0000 (10:16 +0000)
commitef06ab5f3e42e564d3fedc9031f9089ae49dd8fd
tree2cdff63f194f163e3a902bf33381cda7d8779a88
parent3b5256b352a4c53776ea2ddc28001e617326b838
Enable optimizing JSFunctions that are in new-space.

It avoids strange performance behavior where hot functions do not
get optimized if there is no GC to promote them, and it does not seem
to hurt us otherwise.

Review URL: http://codereview.chromium.org/6594073

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7016 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/mark-compact.cc
src/runtime-profiler.cc
src/runtime-profiler.h