Comment on attachment 266803
Make commitSize at least as big as the page size (v2)

View in context:
https://bugs.webkit.org/attachment.cgi?id=266803&action=review

> Source/JavaScriptCore/interpreter/JSStack.cpp:48
> +    static size_t size = 0;
> +    if (!size)
> +        size = std::max(16 * 1024, getpagesize());
> +    return size;

The check for 0 here is unneeded and unhelpful. This should just be:

    static size_t size = std::max<size_t>(16 * 1024, pageSize());
    return size;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1391420

Title:
  JSCore crashes on ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/webkit-open-source/+bug/1391420/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to