Chromium Code Reviews
DescriptionPOSIX: don't allocate memory after forking.
Previously we would allocate memory in the child process. However, the
allocation might have happened while the malloc lock was held,
resulting in a deadlock.
This patch removes allocation from the child but probably makes Mac's
startup time slower until a Mac person can implement
dir_reader_posix.h.
TEST=Unittest for new code
BUG=36678
Patch Set 1 #Patch Set 2 : ... #
Total comments: 7
Patch Set 3 : ... #
Total comments: 52
Patch Set 4 : ... #Patch Set 5 : ... #
Total comments: 21
Patch Set 6 : ... #
Messages
Total messages: 9 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||