I have a Java-based Android app that uses two native submodules. I have them sharing a pointer by retrieving it from process A as a long
and passing it to process B. I seem to encounter problems related to this memory region that are sporadic and depend upon the current build and not upon the changes I just made.
Do I need to use ashmem
to accomplish this properly, or is my methodology (in principal) sound?