Revision: 21370
Author: [email protected]
Date: Mon May 19 16:07:20 2014 UTC
Log: Add allocation sites to scratchpad only if a significant amount
of mementos was found.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/284223007
http://code.google.com/p/v8/source/detail?r=21370
Modified:
/branches/bleeding_edge/src/objects-inl.h
=======================================
--- /branches/bleeding_edge/src/objects-inl.h Thu May 15 11:09:22 2014 UTC
+++ /branches/bleeding_edge/src/objects-inl.h Mon May 19 16:07:20 2014 UTC
@@ -1566,7 +1566,7 @@
int value = memento_found_count();
set_memento_found_count(value + 1);
- return value == 0;
+ return value == kPretenureMinimumCreated;
}
--
--
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.