Code samples:
PhantomReference: https://gist.github.com/nhachicha/4ba780712a7ae179cc67
Synchronizers: https://gist.github.com/nhachicha/7596e912c81aae38d721
Managing memory & concurrency are one of the biggest challenges we face when it comes to writing testable & efficient apps.
based on the experience of building Realm, We'll dig into some patterns & tricks used to control memory footprint & multithreading.
Some of the topics this talks will cover are:
Volatile, Atomic*, Reference API (WeakReference & ReferenceQueue) to work with the GC
Alternative asynchronous models (Messenger/ResultReceiver)