759 |
short tm_max_grow; /* max amount to grow when growing */ |
short tm_max_grow; /* max amount to grow when growing */ |
760 |
short tm_growth_percent; /* percent to increase maxpages */ |
short tm_growth_percent; /* percent to increase maxpages */ |
761 |
short tm_percent_free; /* percent which must be free after a gc for this type */ |
short tm_percent_free; /* percent which must be free after a gc for this type */ |
762 |
|
short tm_distinct; /* pages of this type are distinct */ |
763 |
|
|
764 |
}; |
}; |
765 |
|
|
785 |
*/ |
*/ |
786 |
EXTER struct contblock *cb_pointer; /* contblock pointer */ |
EXTER struct contblock *cb_pointer; /* contblock pointer */ |
787 |
|
|
788 |
|
/* SGC cont pages: After SGC_start, old_cb_pointer will be a linked |
789 |
|
list of free blocks on non-SGC pages, and cb_pointer will be |
790 |
|
likewise for SGC pages. CM 20030827*/ |
791 |
|
EXTER struct contblock *old_cb_pointer; /* old contblock pointer when in SGC */ |
792 |
|
|
793 |
|
/* SGC cont pages: FIXME -- at some point, enable runtime disabling of |
794 |
|
SGC cont pages. Right now, the tm_sgc variable for type contiguous |
795 |
|
will govern only the possible attempt to get new pages for SGC. |
796 |
|
Contiguous pages normally allocated when SGC is on will always be |
797 |
|
marked with SGC_PAGE_FLAG, as the current GBC algorithm always uses |
798 |
|
sgc_contblock_sweep_phase in this case. */ |
799 |
|
/* #define SGC_CONT_ENABLED (sgc_enabled && tm_table[t_contiguous].tm_sgc) */ |
800 |
|
#define SGC_CONT_ENABLED (sgc_enabled) |
801 |
|
|
802 |
/* |
/* |
803 |
Variables for memory management. |
Variables for memory management. |
804 |
*/ |
*/ |