1 #ifndef _GENCGC_ALLOC_REGION_H_
2 #define _GENCGC_ALLOC_REGION_H_
6 /* Abstract out the data for an allocation region allowing a single
7 * routine to be used for allocation and closing. */
10 /* These two are needed for quick allocation. */
12 void *end_addr
; /* pointer to the byte after the last usable byte */
14 /* These are needed when closing the region. */
20 extern struct alloc_region boxed_region
;
21 extern struct alloc_region unboxed_region
;
22 extern generation_index_t from_space
, new_space
;
23 extern struct weak_pointer
*weak_pointers
;
25 extern void *current_region_free_pointer
;
26 extern void *current_region_end_addr
;
28 #endif /* _GENCGC_ALLOC_REGION_H_ */