Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cd623bb authored by Mathieu Chartier's avatar Mathieu Chartier Committed by Gerrit Code Review
Browse files

Merge "Use Runtime.gc instead of System.gc for DDMS."

parents 3f4867f4 83f7d0d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -219,7 +219,7 @@ public class DdmHandleHeap extends ChunkHandler {


        if (false)
        if (false)
            Log.d("ddm-heap", "Heap GC request");
            Log.d("ddm-heap", "Heap GC request");
        System.gc();
        Runtime.getRuntime().gc();


        return null;        // empty response
        return null;        // empty response
    }
    }