Tweak the context disposal GC heuristic: If the garbage collector
authorkasperl@chromium.org <kasperl@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 5 Mar 2009 07:44:13 +0000 (07:44 +0000)
committerkasperl@chromium.org <kasperl@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 5 Mar 2009 07:44:13 +0000 (07:44 +0000)
commit567d9a603eb543f310546a82db91b17ead3e3a24
tree59fac6d833a97cfaed5bfc25eec326462bf733b3
parenta85e72c1d121f45957e1656c177d2a7f9b046da8
Tweak the context disposal GC heuristic: If the garbage collector
interface is exposed through the global gc() function, we avoid
being clever about forcing GCs when contexts are disposed and leave
it to the embedder to make informed decisions about when to force
a collection.
Review URL: http://codereview.chromium.org/40154

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1422 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc