summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2012-11-13 14:08:12 -0800
committer Mathieu Chartier <mathieuc@google.com> 2012-11-13 16:33:39 -0800
commit35883cc623fdf475a4ead1dafcba9e9becc1ed11 (patch)
tree792bdfcb0a556f7c54a35d9c0e4409d3ca4dd2e5 /src/compiler_llvm/method_compiler.h
parentec13743da80a80c1817cf6660c28917fc28846bc (diff)
Ensure ThreadPool constructor does not return until fully initialized.
Thread pool was being deleted too early during runtime shutdown, this was causing a GC running during runtime shutdown to occasionally reference a deleted thread pool. Fixed an error where the thread pool was being deleted before the threads were done attaching by making the thread pool constructor block until all of the threads are attached. Change-Id: I5f0884a74d78c4541ee0e582112857077f3f594f
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
0 files changed, 0 insertions, 0 deletions