Changeset 188401 in webkit
- Timestamp:
- Aug 13, 2015 2:06:46 PM (9 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r188397 r188401 1 2015-08-13 Geoffrey Garen <ggaren@apple.com> 2 3 Periodic code deletion should delete RegExp code 4 https://bugs.webkit.org/show_bug.cgi?id=147990 5 6 Reviewed by Filip Pizlo. 7 8 The RegExp code cache was created for the sake of simple loops that 9 re-created the same RegExps. It's reasonable to delete it periodically. 10 11 * heap/Heap.cpp: 12 (JSC::Heap::deleteOldCode): 13 1 14 2015-08-13 Geoffrey Garen <ggaren@apple.com> 2 15 -
trunk/Source/JavaScriptCore/heap/Heap.cpp
r188394 r188401 44 44 #include "JSVirtualMachineInternal.h" 45 45 #include "RecursiveAllocationScope.h" 46 #include "RegExpCache.h" 46 47 #include "Tracing.h" 47 48 #include "TypeProfilerLog.h" … … 1144 1145 GCPHASE(DeleteOldCode); 1145 1146 if (gcStartTime - m_lastCodeDiscardTime > minute) { 1147 m_vm->regExpCache()->deleteAllCode(); 1146 1148 deleteAllCompiledCode(); 1147 1149 m_lastCodeDiscardTime = WTF::monotonicallyIncreasingTime();
Note: See TracChangeset
for help on using the changeset viewer.