Changeset 196308 in webkit
- Timestamp:
- Feb 9, 2016 4:38:02 AM (8 years ago)
- Location:
- trunk/Source
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r196302 r196308 1 2016-02-09 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r196286. 4 https://bugs.webkit.org/show_bug.cgi?id=154026 5 6 Looks like 5% iOS PLT regression (Requested by kling on 7 #webkit). 8 9 Reverted changeset: 10 11 "[iOS] Throw away some unlinked code when navigating to a new 12 page." 13 https://bugs.webkit.org/show_bug.cgi?id=154014 14 http://trac.webkit.org/changeset/196286 15 1 16 2016-02-08 Keith Miller <keith_miller@apple.com> 2 17 -
trunk/Source/JavaScriptCore/runtime/VM.cpp
r196286 r196308 543 543 } 544 544 545 void VM::deleteAll CodeExceptCaches()545 void VM::deleteAllLinkedCode() 546 546 { 547 547 whenIdle([this]() { 548 548 heap.deleteAllCodeBlocks(); 549 heap.deleteAllUnlinkedCodeBlocks();550 549 heap.reportAbandonedObjectGraph(); 551 550 }); -
trunk/Source/JavaScriptCore/runtime/VM.h
r196286 r196308 575 575 576 576 JS_EXPORT_PRIVATE void deleteAllCode(); 577 JS_EXPORT_PRIVATE void deleteAll CodeExceptCaches();577 JS_EXPORT_PRIVATE void deleteAllLinkedCode(); 578 578 579 579 void registerWatchpointForImpureProperty(const Identifier&, Watchpoint*); -
trunk/Source/WebCore/ChangeLog
r196303 r196308 1 2016-02-09 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r196286. 4 https://bugs.webkit.org/show_bug.cgi?id=154026 5 6 Looks like 5% iOS PLT regression (Requested by kling on 7 #webkit). 8 9 Reverted changeset: 10 11 "[iOS] Throw away some unlinked code when navigating to a new 12 page." 13 https://bugs.webkit.org/show_bug.cgi?id=154014 14 http://trac.webkit.org/changeset/196286 15 1 16 2016-02-08 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebCore/bindings/js/GCController.cpp
r196286 r196308 123 123 } 124 124 125 void GCController::deleteAll CodeExceptCaches()125 void GCController::deleteAllLinkedCode() 126 126 { 127 127 JSLockHolder lock(JSDOMWindow::commonVM()); 128 JSDOMWindow::commonVM().deleteAll CodeExceptCaches();128 JSDOMWindow::commonVM().deleteAllLinkedCode(); 129 129 } 130 130 -
trunk/Source/WebCore/bindings/js/GCController.h
r196286 r196308 47 47 WEBCORE_EXPORT void setJavaScriptGarbageCollectorTimerEnabled(bool); 48 48 WEBCORE_EXPORT void deleteAllCode(); 49 WEBCORE_EXPORT void deleteAll CodeExceptCaches();49 WEBCORE_EXPORT void deleteAllLinkedCode(); 50 50 51 51 private: -
trunk/Source/WebCore/loader/FrameLoader.cpp
r196286 r196308 1764 1764 1765 1765 #if PLATFORM(IOS) 1766 // For top-level navigations, have JSC throw away all code used by the current page.1767 // The immediate memory savings faroutweigh the cost of recompiling in the case of a future backwards navigation.1768 GCController::singleton().deleteAll CodeExceptCaches();1766 // For top-level navigations, have JSC throw away linked code. The immediate memory savings far 1767 // outweigh the cost of recompiling in the case of a future backwards navigation. 1768 GCController::singleton().deleteAllLinkedCode(); 1769 1769 #endif 1770 1770 }
Note: See TracChangeset
for help on using the changeset viewer.