Skip to content

pthread_get_stacksize_np() returns incorrect value on OSX Mavericks for the main thread #274

@ntherning

Description

@ntherning

We need to workaround this somehow. According to this post on the OpenJDK mailing list pthread_get_stacksize_np() returns 2048 pages (8MB) on all OSX versions prior to 10.9. On 10.9 it returns 128 pages (512kB) though the correct value for the main thread is 2048 too by default. This messes up our stack overflow detection. Is this a problem on iOS as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions