core.internal.gc.blkcache
BlkInfo thread-local cache. Used for array appending in the conservative GC to avoid the lock when possible.
Note
this used to be in rt.lifetime, but was moved here to allow GCs to take over array operations.
enum IsMarked
Types 4
aliasBlkInfo = GC.BlkInfo
aliasBlkAttr = GC.BlkAttr
enumIsMarked : int
Indicates whether an address has been marked by the GC.
noAddress is not marked.
yesAddress is marked.
unknownAddress is not managed by the GC.
aliasIsMarkedDg = IsMarked delegate(void * addr) nothrow
The isMarked callback function.
Functions 5
fn
BlkInfo *__getBlkInfo __getBlkInfo(void * interior) nothrow @nogcGet the cached block info of an interior pointer. Returns null if the interior pointer's block is not cached.Variables 2
private enumvar
N_CACHE_BLOCKS = 8cache for the lookup of the block info
var
BlkInfo *__blkcache_storage __blkcache_storage