view lphobos/gcstats.d @ 1115:af625ea2d3cf

Call _d_array_bounds when an associative array is indexed with a non-existent key (unless it's being assigned to). Closes #233.
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 14 Mar 2009 01:22:05 +0100
parents c53b6e3fe49a
children
line wrap: on
line source

// Copyright (c) 1999-2002 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// www.digitalmars.com

struct GCStats
{
    size_t poolsize;		// total size of pool
    size_t usedsize;		// bytes allocated
    size_t freeblocks;		// number of blocks marked FREE
    size_t freelistsize;		// total of memory on free lists
    size_t pageblocks;		// number of blocks marked PAGE
}