Reviewers: dcarney, Toon Verwaest,

Message:
Committed patchset #5 manually as r21126 (presubmit successful).

Description:
Don't leak contexts in Object.observe

The Object.observe API may construct internal structures as a result of API
calls. These structures can persist as long as an object that was once observed persists. This patch ensures that these structures are created in the correct
context so as to avoid leaking contexts

[email protected], dcarney
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=21126

Please review this at https://codereview.chromium.org/263833007/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+181, -1 lines):
  M src/bootstrapper.cc
  M src/contexts.h
  M src/object-observe.js
  M src/runtime.h
  M src/runtime.cc
  M test/cctest/test-object-observe.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to