commit | d8eed1b656b63cd5b1dbd9558c8456691137b8c8 | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Thu Jun 24 17:44:29 2010 -0700 |
committer | Carl Shapiro <cshapiro@google.com> | Thu Jun 24 17:44:29 2010 -0700 |
tree | ba95fe74e91052b360a363d25ed110f9f1e1c971 | |
parent | f8315e2a7b5167f8875543e3b88eb17f9df387ca [diff] |
Fix a VM abort caused by the HeapWorker thread. After calling finalize method the HeapWorker needs to reacquire the heapWorkerLock. If the garbage collector is running, this resource may not be released before the VM decides to suspend the HeapWorker thread. By transitioning the VMWAIT state in these situations, the HeapWorker will not otherwise induce an abort. Change-Id: I70ee47a9793d3d2f7fb24b1586aa43ce500a8767