OSDN Git Service

Jit: fix for 2483131 - VM daemon thread shutdown with JIT enabled
authorBill Buzbee <buzbee@google.com>
Mon, 8 Mar 2010 19:30:19 +0000 (11:30 -0800)
committerBill Buzbee <buzbee@google.com>
Mon, 8 Mar 2010 20:41:18 +0000 (12:41 -0800)
commit2fc03c3399cc33dc1c7d669e8970a87144ec7b97
treefac94e6b6c0601e957900d7b71dbdaa6238df123
parentfc519dc8f4444f6d93806ec15ce7445b322070fd
Jit: fix for 2483131 - VM daemon thread shutdown with JIT enabled

As part of shutdown, the Jit needs to unchain all translations so that
they can respond to suspend requests.  This change introduces a
dvmJitUnchainAll() into shutdown, and also removes some previous
housecleaning that freed our key tables.  We can't actually free those
because suspended threads in the process of shutting down may hold
references.

Change-Id: I7aad332e7195a94970c25a25b2d9fda5607bec08
vm/Thread.c
vm/compiler/Compiler.c