Sample app showcasing use of C++ with Java. The app demonstrates how to communication between Java and C++. By using C++ the app can measure Thread Locality Penalty on Android devices. The penalty is caused by concurrent threads accessing similar or near memory addresses which cause a CPU to flush its cache resulting in slower memory access. You can read more details on this topic at https://landenlabs.com/code/locality.html