[Gc] Effective heap utilization

Alexander Petrossian (PAF) Alexander.Petrossian at teligent.ru
Wed Oct 10 22:44:31 PDT 2007


Ludovic Court?s @ Wednesday, October 10, 2007 3:35:36 PM (Moscow time):
LC> By "effective utilization", I'm referring to the ratio of the total
LC> allocated heap size to the amount of heap occupied by live objects.

Ludovic,
ain't these help?

	size_t heap_size=GC_get_heap_size();
	size_t free_bytes=GC_get_free_bytes();
	size_t bytes_since_gc=GC_get_bytes_since_gc();
	size_t total_bytes=GC_get_total_bytes();


-- 
Alexander Petrossian (PAF), Software Developer, Teligent Russia



More information about the Gc mailing list