ngoquang2708 / android_device_samsung_vivalto3gvn

Device tree for Samsung Galaxy V SM-G313HZ
7 stars 8 forks source link

Switch to dmalloc() for low memory devices #34

Closed diepquynh closed 8 years ago

diepquynh commented 8 years ago

By default, Android uses jemalloc() for ART, which is "slightly" optimized for multi-core devices Our device is single-core, so it can handle single-threaded operations only. As in case, swappings is one example. If you're playing such games as "Asphalt 8", you can experience "LAGS EVERYWHERE" and in worst case, FC happens, even you still have lots of RAM Here's the user (or a dev)'s experience about this: http://forum.xda-developers.com/showpost.php?p=62476868&postcount=3492

ngoquang2708 commented 8 years ago

If you don't mind, please close this PR, revert commit 6cda47ec739f4391570ff01ddd7d13b06039e2c3. Or I just close this PR and cherry-pick commit bf237ec609f2f91c72deeae78ac8c173ad1cffc0.

diepquynh commented 8 years ago

Oh shit, forgot to revert it

ngoquang2708 commented 8 years ago

No need to close this, just revert that commit, it will append to this PR too.

diepquynh commented 8 years ago

Umm... OK

diepquynh commented 8 years ago

Can you cherry-pick my commit? The internet is damn laggy at this time, i can't even pull the source down (12kbps)

diepquynh commented 8 years ago

OK, it's fine now :D Reverted