Remix.run Logo
▲ yjftsjthsd-h 3 hours ago

How's it abusing anything? It's an Android app that works fine with the default Android memory allocator.

▲pjmlp 3 hours ago | parent | next [-]

The AOSP memory allocator is seldom the one used by OEMs.

▲rpdillon 2 hours ago | parent [-]

Really? They're not using Scudo? The hardened_malloc used in GrapheneOS has a bunch of performance issues that were trade-offs against security. Every other major android distribution uses scudo as far as I know. Which OEMs are you thinking of?

Edit: Did some research after writing this? It appears that Samsung may be still using jemalloc, albeit a newer version than the one from the Android 11 days.

▲perching_aix 3 hours ago | parent | prev [-]

That doesn't necessarily mean it isn't being abusive, just that said allocator tolerates it okay.