Flushing of code from functions that we expect not to use again.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 7 Jun 2010 15:39:10 +0000 (15:39 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 7 Jun 2010 15:39:10 +0000 (15:39 +0000)
commit316092c364ff8ce27ea584765cd3f2f7c7481b8b
tree4b9522c4bc8f1ce13fabc354fb8240b20372e378
parent3c42d18a4422c352cb4e19a4b2605b070c4093fa
Flushing of code from functions that we expect not to use again.

This adds an additional step to full gc, removing code from functions
that are no longer in the compilation cache. The code is replaced with
a lazy compile version enabling us to recompile the function in case
we do actually need it again.

Review URL: http://codereview.chromium.org/2632003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4814 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compilation-cache.cc
src/compilation-cache.h
src/compiler.cc
src/heap.cc
src/heap.h
src/objects-inl.h
src/objects.h
test/cctest/test-heap.cc