commit | 04b70fc63a80e3df9b97a5197f1d7df022cbe92b | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Sun Apr 10 23:46:12 2016 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Sun Apr 10 23:46:12 2016 -0600 |
tree | 2c5d84059e81afaebdbf73caa231558a00ade0ae | |
parent | 8ed9ece93dca5c7266ca7d9c5fabe7c9a6b214e7 [diff] |
Relax SparseMappingTable Slog.wtf(). When it's triggered, it happens with such frequency that it can DoS the system server. Bug: 28104329 Change-Id: I5c58e5f5bf4d88af2cb6215bcfddf35704e22eaa
diff --git a/core/java/com/android/internal/app/procstats/SparseMappingTable.java b/core/java/com/android/internal/app/procstats/SparseMappingTable.java index cd4f7b6..76102af 100644 --- a/core/java/com/android/internal/app/procstats/SparseMappingTable.java +++ b/core/java/com/android/internal/app/procstats/SparseMappingTable.java
@@ -629,7 +629,7 @@ * this is an eng build.) */ private static void logOrThrow(String message, Throwable th) { - Slog.wtf(TAG, message, th); + Slog.e(TAG, message, th); if (Build.TYPE.equals("eng")) { throw new RuntimeException(message, th); }