[Webkit-unassigned] [Bug 26611] New: Implement currentThreadStackBase on WinCE
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 22 10:56:21 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=26611
Summary: Implement currentThreadStackBase on WinCE
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Other
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: joe.mason at torchmobile.com
CC: treat at kde.org, yong.li at torchmobile.com
WinCE has no function to find the stack base, so we keep a global, g_stackBase,
which must be set to the address of a local variable by the caller before
calling any WebKit function that invokes JSC. currentThreadStackBase simply
returns this value if it is set.
If g_stackBase is not set, as a workaround currentThreadStackBase finds the top
of the stack (address of a local variable), and then goes through all writeable
pages reachable from this address. This actually returns an area much bigger
than the actual stack range, so some dead objects can't be collected, but it
guarantees live objects aren't collected prematurely.
--
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