Changing the aging mechanism for script and eval caches.
authorverwaest@chromium.org <verwaest@chromium.org>
Fri, 31 Oct 2014 14:51:48 +0000 (14:51 +0000)
committerverwaest@chromium.org <verwaest@chromium.org>
Fri, 31 Oct 2014 14:52:27 +0000 (14:52 +0000)
commit604672e87fc2b60bfab877865fa9a9c1da02900e
treea87754edf94663ad124bad6ae8d4e5ac5dd207ef
parent3a3d5e741a4329641fa45f7293220e8dfd7a8f15
Changing the aging mechanism for script and eval caches.
Instead of using multiple generations for the code, first only store the hash that gets aged. Once a hash matched on a next probe, actually cache the code. Use regular code aging to remove entries from the cache.

BUG=
R=ulan@chromium.org

Review URL: https://codereview.chromium.org/675013004

Cr-Commit-Position: refs/heads/master@{#25040}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25040 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compilation-cache.cc
src/compilation-cache.h
src/objects.cc
src/objects.h
test/cctest/test-heap.cc