Files
frameworks_base/core/java/android/os
Brad Fitzpatrick 191cdf023c StrictMode: check max-offenses-per-loop earlier, before allocations
Previously a tight loop of StrictMode violations would still allocate
Exception objects and populate their stack frames, just to orphan them
later when checking the max-10-violations-per-loop constraint.

With this patch, we do that check _before_ allocating any memory.

Change-Id: Iae96aba33f8fcc6a8ec5838a231aecc08e95122d
2010-10-11 11:31:15 -07:00
..
2010-07-26 17:47:45 -07:00
2010-01-27 13:51:53 -08:00
2009-07-31 17:58:55 -07:00