diff options
| author | 2012-06-11 11:23:48 -0700 | |
|---|---|---|
| committer | 2012-06-11 11:37:58 -0700 | |
| commit | 225f5a1df25241babd16cdba54056b9e2cd166a2 (patch) | |
| tree | d3846f2f3a97a59124084d8fd503a3238346e66d /tools/cpplint.py | |
| 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
Diffstat (limited to 'tools/cpplint.py')
0 files changed, 0 insertions, 0 deletions