void
JMMArrayTable::StreamAllocationSizeHistogram
	(
	ostream& output
	)
	const
{
	JSize histo[ JMemoryManager::kHistogramSlotCount ];
	bzero(histo, sizeof(histo));

	const JSize count = itsAllocatedTable->GetElementCount();
	for (JIndex i=1;i<=count;i++)
		{
		AddToHistogram(itsAllocatedTable->GetElement(i), histo);
		}

	StreamHistogram(output, histo);
}
void
JMMHashTable::StreamAllocationSizeHistogram
(
    ostream& output
)
const
{
    JSize histo[ JMemoryManager::kHistogramSlotCount ];
    bzero(histo, sizeof(histo));

    JConstHashCursor<JMMRecord> cursor(itsAllocatedTable);
    while ( cursor.NextFull() )
    {
        AddToHistogram(cursor.GetValue(), histo);
    }

    StreamHistogram(output, histo);
}