Reviewers: Kevin Millikin,

Message:
This was not a clean merge as GC has changed between 3.6 and 3.7

Description:
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

Review URL: http://codereview.chromium.org/8888011
------------------------------------------------------------------------

Please review this at http://codereview.chromium.org/8889046/

SVN Base: http://v8.googlecode.com/svn/branches/3.6/

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

Reply via email to