Class VmaVirtualBlockCreateFlags
java.lang.Object
club.doki7.vma.bitmask.VmaVirtualBlockCreateFlags
Flags to be passed as VmaVirtualBlockCreateInfo::flags.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBit mask to extract onlyALGORITHMbits from entire set of flags.static final intstatic final intEnables alternative, linear allocation algorithm in this virtual block. -
Method Summary
-
Field Details
-
FLAG_BITS_MAX_ENUM
public static final int FLAG_BITS_MAX_ENUM- See Also:
-
LINEAR_ALGORITHM
public static final int LINEAR_ALGORITHMEnables alternative, linear allocation algorithm in this virtual block.
Specify this flag to enable linear allocation algorithm, which always creates new allocations after last one and doesn't reuse space from allocations freed in between. It trades memory consumption for simplified algorithm and data structure, which has better performance and uses less memory for metadata.
By using this flag, you can achieve behavior of free-at-once, stack, ring buffer, and double stack. For details, see documentation chapter linear_algorithm.
- See Also:
-
ALGORITHM_MASK
public static final int ALGORITHM_MASKBit mask to extract onlyALGORITHMbits from entire set of flags.- See Also:
-
-
Method Details
-
explain
-