[webkit-reviews] review denied: [Bug 113168] LayoutTests/fast/js/large-expressions.html crashes on Linux : [Attachment 194783] patch after compilation error fixed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 25 17:21:39 PDT 2013


Geoffrey Garen <ggaren at apple.com> has denied linzj <manjian2006 at gmail.com>'s
request for review:
Bug 113168: LayoutTests/fast/js/large-expressions.html crashes on Linux
https://bugs.webkit.org/show_bug.cgi?id=113168

Attachment 194783: patch after compilation error fixed
https://bugs.webkit.org/attachment.cgi?id=194783&action=review

------- Additional Comments from Geoffrey Garen <ggaren at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=194783&action=review


> Source/WTF/wtf/StackBounds.cpp:149
> +    // no matter in glibc or bionic(android's libc) implementation,

Let's change this comment to: "glibc and bionic (Android's libc) use the guard
size API to set a guard page at the stack base."

> Source/WTF/wtf/StackBounds.cpp:154
> +    int rc = pthread_attr_getguardsize(&sattr, &guardSize);

pthread_attr_getguardsize is standard POSIX, so I think we should do this on
all platforms.

> Source/WTF/wtf/StackBounds.cpp:155
> +    stackBase = reinterpret_cast<void *>(reinterpret_cast<unsigned
long>(stackBase) + guardSize);

"void*" instead of "void *", please.

Also, to cast a pointer to integer, use uintptr_t.

Also, you need to round guardSize up to the system page size.


More information about the webkit-reviews mailing list