[Webkit-unassigned] [Bug 22360] New: JSC::getCurrentUTCTimeWithMicroseconds uses unprotected static variables

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 19 11:31:17 PST 2008


           Summary: JSC::getCurrentUTCTimeWithMicroseconds uses unprotected
                    static variables
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org
                CC: sfalken at apple.com

Recently, a number of static variables were added to
JSC::getCurrentUTCTimeWithMicroseconds(). These include doubles, which are not
written to memory atomically on common platforms. Likely, this also created
race conditions in this function, although I don't have any to pinpoint.

I'm fairly sure that this will make JavaScriptCore date/time functions
misbehave when used from multiple concurrent threads.

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

More information about the webkit-unassigned mailing list