Commit b2c9fcaa authored by hpayer@chromium.org's avatar hpayer@chromium.org

Add allocation sites to scratchpad only if a significant amount of mementos was found.

BUG=
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21370 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 13af2c05
......@@ -1566,7 +1566,7 @@ inline bool AllocationSite::IncrementMementoFoundCount() {
int value = memento_found_count();
set_memento_found_count(value + 1);
return value == 0;
return value == kPretenureMinimumCreated;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment