OSDN Git Service

Fixes deadlock in Runtime.exec(). We can't malloc() or free() after fork() because...
authorcrazybob <crazybob@google.com>
Thu, 18 Jun 2009 22:19:04 +0000 (17:19 -0500)
committercrazybob <crazybob@google.com>
Wed, 1 Jul 2009 16:39:10 +0000 (11:39 -0500)
commit4ce12e65bb5fb7cb0eaa131e8b5c0b740e8e359e
tree2ed33e7935d147986e453a2214e83471a436bf74
parent3e371e2ebbeeefe176ba1357e6ff241bd13a711e
Fixes deadlock in Runtime.exec(). We can't malloc() or free() after fork() because the heap lock may be held by a thread that is no longer running.
libcore/luni-kernel/src/main/native/java_lang_ProcessManager.c