diff options
| author | 2012-11-12 16:54:11 -0800 | |
|---|---|---|
| committer | 2012-11-12 17:37:38 -0800 | |
| commit | 664bebf92eb2151b9b570ccd42ac4b6056c3ea9c (patch) | |
| tree | 783a4492b398078e8d5747f19f6019e91939c986 /src/compiler_llvm/compiler_llvm.h | |
| parent | d22d54849c96760aa1efa259d6dcfbace54da2af (diff) | |
Fix occasional deadlock caused by checkpoint root marking.
There was a race where a new worker thread would attach during the
checkpoint. This caused the thread to wait since suspend count != 0.
But when we decremented the suspend count, we did not broadcast to
the resume condition.
Added a create peer parameter to Thread::Attach and
AttachCurrentThread. This is used by the threadpool since we don't
need a java peer for worker threads.
Change-Id: I632926b5a6b52eeb0684b6e1dcbf3db42ba3d35c
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.h')
0 files changed, 0 insertions, 0 deletions