Loading core/java/com/android/internal/app/procstats/SparseMappingTable.java +12 −8 Original line number Diff line number Diff line Loading @@ -377,7 +377,9 @@ public class SparseMappingTable { // since we were created or reset. if (mSequence == UNINITIALIZED_SEQUENCE) { logOrThrow("mSequence == UNINITIALIZED_SEQUENCE in" + " SparseMappingTable.Table. mParent.mSequence=" + mParent.mSequence); + " SparseMappingTable.Table. -- " + dumpInternalState()); return; } // Assert that our sequence number matches mParent's. If it isn't that means Loading @@ -387,10 +389,12 @@ public class SparseMappingTable { logOrThrow("Sequence mismatch. SparseMappingTable.resetTable()" + " called but not Table.resetTable() -- " + dumpInternalState()); return; } else if (mSequence > mParent.mSequence) { logOrThrow("Sequence mismatch. Table.resetTable()" + " called but not SparseMappingTable.resetTable() -- " + dumpInternalState()); return; } } } Loading Loading @@ -611,7 +615,7 @@ public class SparseMappingTable { * this is a debug build.) */ private static void logOrThrow(String message) { logOrThrow(message, null); logOrThrow(message, new RuntimeException("Stack trace")); } /** Loading Loading
core/java/com/android/internal/app/procstats/SparseMappingTable.java +12 −8 Original line number Diff line number Diff line Loading @@ -377,7 +377,9 @@ public class SparseMappingTable { // since we were created or reset. if (mSequence == UNINITIALIZED_SEQUENCE) { logOrThrow("mSequence == UNINITIALIZED_SEQUENCE in" + " SparseMappingTable.Table. mParent.mSequence=" + mParent.mSequence); + " SparseMappingTable.Table. -- " + dumpInternalState()); return; } // Assert that our sequence number matches mParent's. If it isn't that means Loading @@ -387,10 +389,12 @@ public class SparseMappingTable { logOrThrow("Sequence mismatch. SparseMappingTable.resetTable()" + " called but not Table.resetTable() -- " + dumpInternalState()); return; } else if (mSequence > mParent.mSequence) { logOrThrow("Sequence mismatch. Table.resetTable()" + " called but not SparseMappingTable.resetTable() -- " + dumpInternalState()); return; } } } Loading Loading @@ -611,7 +615,7 @@ public class SparseMappingTable { * this is a debug build.) */ private static void logOrThrow(String message) { logOrThrow(message, null); logOrThrow(message, new RuntimeException("Stack trace")); } /** Loading