commit | 225f5a1df25241babd16cdba54056b9e2cd166a2 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Jun 11 11:23:48 2012 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Jun 11 11:37:58 2012 -0700 |
tree | d3846f2f3a97a59124084d8fd503a3238346e66d | |
parent | 7664f5cd118b355a5fe0c7536cb48ac991ed2b62 [diff] |
Don't pre-allocate one OOME per thread. There's no associated stack trace, so we can share one between all threads, saving a little memory and thread start-up time. Speaking of stack traces: dump the stack to the log at the point where we realize we're not going to be able to throw an exception with a stack, so the developer has _something_ to work with. Change-Id: I2246d291855bd9b9ee13f2be5b1ce14f669e9410