Package org.lwjgl.system
Interface MemoryUtil.MemoryAllocationReport
-
- Enclosing class:
- MemoryUtil
public static interface MemoryUtil.MemoryAllocationReportThe memory allocation report callback.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMemoryUtil.MemoryAllocationReport.AggregateSpecifies how to aggregate the reported allocations.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvoke(long address, long memory, long threadId, java.lang.String threadName, java.lang.StackTraceElement... stacktrace)Reports allocated memory.
-
-
-
Method Detail
-
invoke
void invoke(long address, long memory, long threadId, @Nullable java.lang.String threadName, @Nullable java.lang.StackTraceElement... stacktrace)Reports allocated memory.- Parameters:
address- the address of the memory allocated. May beMemoryUtil.NULL.memory- the amount of memory allocated, in bytesthreadId- id of the thread that allocated the memory. May beMemoryUtil.NULL.threadName- name of the thread that allocated the memory. May benull.stacktrace- the allocation stacktrace. May benull.
-
-