Reviewers: Karl Klose, Description: 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. Please review this at http://codereview.chromium.org/6594073/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/runtime-profiler.cc Index: src/runtime-profiler.cc =================================================================== --- src/runtime-profiler.cc (revision 6981) +++ src/runtime-profiler.cc (working copy) @@ -134,7 +134,6 @@ static bool IsOptimizable(JSFunction* function) { - if (Heap::InNewSpace(function)) return false; Code* code = function->code(); return code->kind() == Code::FUNCTION && code->optimizable(); } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
