Title: [87529] trunk/Source/_javascript_Core
- Revision
- 87529
- Author
- oli...@apple.com
- Date
- 2011-05-27 11:47:34 -0700 (Fri, 27 May 2011)
Log Message
Build fix
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (87528 => 87529)
--- trunk/Source/_javascript_Core/ChangeLog 2011-05-27 18:41:56 UTC (rev 87528)
+++ trunk/Source/_javascript_Core/ChangeLog 2011-05-27 18:47:34 UTC (rev 87529)
@@ -1,5 +1,12 @@
2011-05-27 Oliver Hunt <oli...@apple.com>
+ Build fix
+
+ * runtime/RegExpCache.cpp:
+ (JSC::RegExpCache::invalidateCode):
+
+2011-05-27 Oliver Hunt <oli...@apple.com>
+
Reviewed by Geoffrey Garen.
Try to release unused executable memory when the FixedVMPool allocator is under pressure
Modified: trunk/Source/_javascript_Core/runtime/RegExpCache.cpp (87528 => 87529)
--- trunk/Source/_javascript_Core/runtime/RegExpCache.cpp 2011-05-27 18:41:56 UTC (rev 87528)
+++ trunk/Source/_javascript_Core/runtime/RegExpCache.cpp 2011-05-27 18:47:34 UTC (rev 87529)
@@ -75,7 +75,7 @@
void RegExpCache::invalidateCode()
{
- for (size_t i = 0; i < maxStrongCacheableEntries; i++)
+ for (int i = 0; i < maxStrongCacheableEntries; i++)
m_strongCache[i].clear();
m_nextEntryInStrongCache = 0;
RegExpCacheMap::iterator end = m_weakCache.end();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes