aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-12-10 16:38:30 -0800
committerAndy McFadden <fadden@android.com>2009-12-10 16:38:30 -0800
commit909ce240fd544de9ba42daf590e1cf17e874ec3b (patch)
treecafc83cbf5436f32c22a7979c140e96305372dfe /vm/compiler/codegen/CompilerCodegen.h
parentf0e054b5871579df9cc0aa5d7c63e16e1d7939fb (diff)
Iterate in JNI thread exit check.
The Dalvik VM includes a helpful check that kicks and screams if a thread exits without detaching from the VM first. It manages this with a pthread TLS destructor. This is handy, but it will interfere with anyone who wants to use a TLS destructor to initiate the thread detach. With this change, we now iterate a couple of times to allow other destructors a chance to detach the thread before we get snippy. For 2319072.
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions