Photon Quantum 3.0.0

Classes | Enumerations
Quantum.Allocator Namespace Reference

Classes

class  FrameHeap
 Managed frame heap type that wraps a unmanaged Heap instance. More...
 
struct  Heap
 The Quantum heap is a custom memory allocator that contains rollback-able memory allocations by Quantum user or internal systems. It implements the ITrackableFrameHeap interface for memory leak tracking. More...
 
class  HeapAllocationTrackerExt
 Extension methods for the IHeapAllocationTracker. More...
 
interface  IFrameHeap
 Custom heap interface for allocating memory on the frame. More...
 
interface  IHeapAllocationTracker
 Interface of the heap allocation tracker. More...
 
interface  ITrackableFrameHeap
 Adds memory allocation tracking to the IFrameHeap. More...
 
class  SimpleHeapAllocTracker
 An allocation tracker for the frame Heap. This implemention is used when HeapTrackingMode.DetectLeaks mode is selected. More...
 
class  TracedHeapAllocTracker
 An allocation tracker for the frame Heap. This implementation is used when HeapTrackingMode.TraceAllocations mode is selected. More...
 

Enumerations

enum  HeapTrackingMode : byte
 To which extent Frame Heap allocations should be tracked. More...
 

Enumeration Type Documentation

◆ HeapTrackingMode

To which extent Frame Heap allocations should be tracked.

Enumerator
Disabled 

Allocations are not tracked.

DetectLeaks 

Allocations have their Ptrs tracked. A comparison between tracked and serialized Ptrs can detect memory leaks.

TraceAllocations 

Allocations are tracked, including the stack trace of each allocation. This mode can detect memory leaks and report the exact point in the code where the leaked memory was allocated from. WARNING: tracing allocations can be VERY slow. This mode is not recommended unless a memory leak is being actively debugged.