[Webkit-unassigned] [Bug 90622] New: blockfreeing thread doesn't need to wake up every 1 second

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 5 10:49:24 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90622

           Summary: blockfreeing thread doesn't need to wake up every 1
                    second
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yoli at rim.com
                CC: fpizlo at apple.com


void BlockAllocator::blockFreeingThreadMain()
{
    while (!m_blockFreeingThreadShouldQuit) {
        // Generally wait for one second before scavenging free blocks. This
        // may return early, particularly when we're being asked to quit.
        waitForRelativeTime(1.0);
        if (m_blockFreeingThreadShouldQuit)
            break;


Actually a conditional signal is being used. So the 1 second timeout doesn't seem
necessary.

Can we change it to infinite?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list