{"push_id":943039248,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"a8108303b31f76b7cd0292942885585d0f9d9391","before":"440ef2cbc76d7e2bc76cf5f15b69fc0478d7e853","commits":[{"sha":"625a64aad13905d8a2454bf3cc0e874487b110d5","author":{"email":"702ed23378558bb176272967d788ef5b0a5580a7@google.com","name":"Vladimir Marko"},"message":"Write dex files to oat file early.\n\nWrite dex files to oat file before we actually open and\nverify them. Instead, open and verify the copies from the\noat file and use these. This way, in the most common case\nof zipped dex files, we have mmapped dex files instead of\ninflated dex files. That reduces the number of dirty pages\nused by dex2oat.\n\nReading /proc/self/statm after we write the oat file for\na compilation of a certain large app on Nexus 5 AOSP build\nwith -j1, three attempts before and after this CL gave\n    before: 346061 189462 6269 26 0 140723 0\n            346189 189450 6269 26 0 140851 0\n            346061 189463 6269 26 0 140723 0\n    after:  346186 185808 23040 27 0 140468 0\n            346186 185819 23040 27 0 140468 0\n            346186 185822 23040 27 0 140468 0\nThese values are in pages (4KiB), so while the \"size\"\n(=VmSize) is essentially unchanged, the \"resident\" (=VmRSS)\nis over 14MiB less and the \"shared\" (i.e. backed by a file)\nis 65.5MiB more. That is, the amount of dirty non-pageable\nmemory used is reduced by about 80MiB.\n\nThe oat file format has changed slightly, the class offset\ntable has been moved from the OatDexFile to its own section.\nThis actually fixes the alignment of these offsets as they\ncould have been unaligned previously, yet accessed as normal\nwith significant performance impact if the kernel has to\nemulate the unaligned access (say, mips).\n\nChange-Id: I0f4799bb1f1ca28e3533156a3494f55345c3e10a","distinct":true,"url":"https://api.github.com/repos/Lingcc/AndroidArt/commits/625a64aad13905d8a2454bf3cc0e874487b110d5"},{"sha":"a8108303b31f76b7cd0292942885585d0f9d9391","author":{"email":"702ed23378558bb176272967d788ef5b0a5580a7@google.com","name":"Vladimir Marko"},"message":"Merge \"Write dex files to oat file early.\"","distinct":true,"url":"https://api.github.com/repos/Lingcc/AndroidArt/commits/a8108303b31f76b7cd0292942885585d0f9d9391"}]}