Reviewers: Kevin Millikin,
Description:
Merge r10224 from the 3.6 to the 3.5 branch.
Merge r10215 from the bleeding_edge to the 3.6 branch.
Ensure that non-optimized code objects are not flushed for inlined
functions.
Collector was flushing them if optimized code was reachable only through the
stack (not through the JSFunction object) which happens when you have a
pending
lazy deoptimization.
Also prevent v8::Script::New from leaking internal objects allocated by the
compiler into outer HandleScope.
[email protected]
BUG=http://crbug.com/97116
TEST=test/mjsunit/regress/regress-97116.js
Please review this at http://codereview.chromium.org/8883048/
SVN Base: http://v8.googlecode.com/svn/branches/3.5/
Affected files:
M src/api.cc
M src/mark-compact.h
M src/mark-compact.cc
M src/v8threads.h
M src/version.cc
A + test/mjsunit/regress/regress-97116.js
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev