'How do memory addresses work in the Android NDK

What is the schema for C++ memory addresses under the Android NDK? They seem to have changed (become longer) in recent NDKs compared to older NDKs, so I'm trying to understand the original schema as well as how and why they've evolved. Documentation on this topic seems hard to find.

Note that I'm talking about C++ heap memory addresses, not JVM addresses.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source