dc3e2025859d8c3585961a305911df198347d1b0
[IRC.git] / Robust / src / Runtime / bamboo / pmc_garbage.h
1 #ifndef PMC_GARBAGE_H
2 #define PMC_GARBAGE_H
3 struct pmc_unit {
4   unsigned int lock;
5   unsigned int numbytes;
6 };
7
8 struct pmc_region {
9   void * lastptr;
10   struct ___Object___ * lastobj;
11 };
12
13 struct pmc_heap {
14   struct pmc_region units[NUMCORES4GC*4];
15   struct pmc_region regions[NUMCORES4GC];
16   unsigned int lock;
17   unsigned int numthreads;
18 };
19
20 extern struct pmc_heap * pmc_heapptr;
21
22 #endif