Searched refs:countOldGarbage (Results 1 – 3 of 3) sorted by relevance
70 when(mTrackedGarbage.countOldGarbage()).thenReturn(0); in testNoGarbage_doesntDump()82 when(mTrackedGarbage.countOldGarbage()).thenReturn(4); in testALittleGarbage_doesntDump()94 when(mTrackedGarbage.countOldGarbage()).thenReturn(100); in testTransientGarbage_doesntDump()99 when(mTrackedGarbage.countOldGarbage()).thenReturn(0); in testTransientGarbage_doesntDump()108 when(mTrackedGarbage.countOldGarbage()).thenReturn(100); in testLotsOfPersistentGarbage_dumps()
109 public synchronized int countOldGarbage() { in countOldGarbage() method in TrackedGarbage
171 if (mTrackedGarbage.countOldGarbage() > GARBAGE_ALLOWANCE) { in gcAndCheckGarbage()179 int count = mTrackedGarbage.countOldGarbage(); in reinspectGarbageAfterGc()