OSDN Git Service

Revert "Use mmap to create the pthread_internal_t."
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 26 Nov 2014 11:53:44 +0000 (11:53 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 26 Nov 2014 11:56:54 +0000 (11:56 +0000)
commit5b8ceff5f87889e781c13305767e140afd28eb76
treead95ccbfbc12b6a75ef56e6646cea4aee94b675c
parentcc5f6543e3f91385b9a912438965b7e8265df54a
Revert "Use mmap to create the pthread_internal_t."

Unfortunately, this change provokes random crashes for ART, and
I have seen libc crashes on the device that might be related to it.

Reverting it fixes the ART crashes. there is unfortunately no
stack trace for the crashes, but just a "Segmentation fault" message.

This reverts commit cc5f6543e3f91385b9a912438965b7e8265df54a.

Change-Id: I68dca8e1e9b9edcce7eb84596e8db619e40e8052
libc/bionic/pthread_create.cpp
libc/bionic/pthread_exit.cpp
libc/bionic/pthread_internal.h
libc/bionic/pthread_internals.cpp