UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AndroidPlatformMemory.cpp File Reference
#include "Android/AndroidPlatformMemory.h"
#include "Android/AndroidHeapProfiling.h"
#include "HAL/LowLevelMemTracker.h"
#include "HAL/MallocBinned.h"
#include "HAL/MallocBinned2.h"
#include "HAL/MallocBinned3.h"
#include "HAL/MallocAnsi.h"
#include "Misc/ScopeLock.h"
#include "unistd.h"
#include <jni.h>
#include <sys/sysinfo.h>
#include <sys/mman.h>
#include <linux/prctl.h>
#include <sys/prctl.h>
#include "Android/AndroidPlatformCrashContext.h"
#include "Async/TaskGraphInterfaces.h"
#include "Async/Async.h"
#include "Tasks/Task.h"

Namespaces

namespace  AndroidPlatformMemory
 

Macros

#define JNI_CURRENT_VERSION   JNI_VERSION_1_6
 
#define PR_SET_VMA   0x53564d41
 
#define PR_SET_VMA_ANON_NAME   0
 

Functions

uint64 AndroidPlatformMemory::GetBytesFromStatusLine (char *Line)
 Returns value in bytes from a status line.
 
int32 AndroidThunkCpp_GetMetaDataInt (const FString &Key)
 

Variables

JavaVMGJavaVM
 
float GVMAPoolScale
 
void(* GMemoryWarningHandler )(const FGenericMemoryWarningContext &Context)
 

Macro Definition Documentation

◆ JNI_CURRENT_VERSION

#define JNI_CURRENT_VERSION   JNI_VERSION_1_6

◆ PR_SET_VMA

#define PR_SET_VMA   0x53564d41

◆ PR_SET_VMA_ANON_NAME

#define PR_SET_VMA_ANON_NAME   0

Function Documentation

◆ AndroidThunkCpp_GetMetaDataInt()

int32 AndroidThunkCpp_GetMetaDataInt ( const FString &  Key)
extern

Variable Documentation

◆ GJavaVM

JavaVM* GJavaVM
extern

◆ GMemoryWarningHandler

void(* GMemoryWarningHandler) (const FGenericMemoryWarningContext &Context) ( const FGenericMemoryWarningContext Context)
extern

Global pointer to memory warning handler

◆ GVMAPoolScale

float GVMAPoolScale
extern

Controls growth of pools - see PooledVirtualMemoryAllocator.cpp