Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
GCActivityCallback timer should vary with the length of the previous GC
https://bugs.webkit.org/show_bug.cgi?id=80344 Reviewed by Geoffrey Garen. * heap/Heap.cpp: Gave Heap the ability to keep track of the length of its last GC length so that the GC Activity Callback can use it. (JSC::Heap::Heap): (JSC::Heap::collect): * heap/Heap.h: (JSC::Heap::lastGCLength): (Heap): * runtime/GCActivityCallbackCF.cpp: (JSC): (JSC::DefaultGCActivityCallback::operator()): Use the length of the Heap's last GC to determine the length of our timer trigger (currently set at 100x the duration of the last GC). Canonical link: https://commits.webkit.org/97588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Mark Hahnenberg
committed
Mar 6, 2012
1 parent
368bdac
commit 3312def
Showing
4 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters