diff options
| author | Andy McFadden <fadden@android.com> | 2009-12-10 16:38:30 -0800 |
|---|---|---|
| committer | Andy McFadden <fadden@android.com> | 2009-12-10 16:38:30 -0800 |
| commit | 909ce240fd544de9ba42daf590e1cf17e874ec3b (patch) | |
| tree | cafc83cbf5436f32c22a7979c140e96305372dfe /vm/compiler/codegen/CompilerCodegen.h | |
| parent | f0e054b5871579df9cc0aa5d7c63e16e1d7939fb (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
