)]}'
{
  "commit": "1017a134c19b3d296c7c05cf640db4b08816d090",
  "tree": "1e5e9d1b9d248db7f78826ba5051e823bfee9005",
  "parents": [
    "cf06dd0a8a4321ea640e7d1ebe5dffcd69324a04"
  ],
  "author": {
    "name": "Bjorn Bringert",
    "email": "bringert@android.com",
    "time": "Tue Feb 16 23:27:18 2010 +0000"
  },
  "committer": {
    "name": "Bjorn Bringert",
    "email": "bringert@android.com",
    "time": "Tue Feb 16 23:31:46 2010 +0000"
  },
  "message": "Clean up after failed MemoryFileTest.testPurge()\n\nMemoryFileTest.testPurge() can fail if the process runs\nout of file descriptors before the kernel starts purging ashmem areas.\nBefore, there was no finally block to close the open ashmem\nfile descriptions, which caused random other tests to fail.\n\nI also changed the size of the memory areas to 10MB, which\nshould cause it to run out of memory before it runs out of file\ndescriptors. It now fails with this instead:\n\njava.io.IOException\n\tat android.os.MemoryFile.native_pin(Native Method)\n\tat android.os.MemoryFile.allowPurging(MemoryFile.java:189)\n\tat android.os.MemoryFileTest.testPurge(MemoryFileTest.java:53)\n\tat java.lang.reflect.Method.invokeNative(Native Method)\n\tat android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)\n\tat android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)\n\tat android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:430)\n\tat android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447)\n\nI\u0027m not sure why, but it could be that the kernel is purging the just\nallocated area instead of an old one. That seems like bug.\n\nSee http://b/issue?id\u003d2203775\n\nChange-Id: Ia7930a714378474dd4c2c6709da40c08e715ab6f\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "411bdaa309f870f5c62e96eccc6157684878c099",
      "old_mode": 33188,
      "old_path": "core/tests/coretests/src/android/os/MemoryFileTest.java",
      "new_id": "1f7ee266d94a0bf61bcfd6ecef410c2f564fe06e",
      "new_mode": 33188,
      "new_path": "core/tests/coretests/src/android/os/MemoryFileTest.java"
    }
  ]
}
