diff options
| author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-04 21:18:27 +0000 |
|---|---|---|
| committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-04 21:18:27 +0000 |
| commit | 2f6aecaf9cd4c85c9e8a297e0878f0af6018bed8 (patch) | |
| tree | 449a4a48f0fb3f1a7b657d6c17abb75165423bb4 /libjava/java/lang/Void.java | |
| parent | 979ca5cd5b5e123cd520197bd5a12ef872bd0136 (diff) | |
| download | ppe42-gcc-2f6aecaf9cd4c85c9e8a297e0878f0af6018bed8.tar.gz ppe42-gcc-2f6aecaf9cd4c85c9e8a297e0878f0af6018bed8.zip | |
Special-case tree_decl/tree_list allocations.
* ggc-page.c (OBJECT_PER_PAGE): Reimplement.
(OBJECT_SIZE): New macro.
(NUM_EXTRA_ORDER): Likewise.
(extra_order_size_table): New variable.
(NUM_ORDERS): New macro.
(objects_per_page_table): New variable.
(object_size_table): New variable.
(G.pages): Use NUM_ORDERS to bound the array.
(G.page_tails): Likewise.
(DIV_ROUND_UP): Remove.
(BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
(alloc_page): Use OBJECT_SIZE.
(size_lookup): Don't make it const.
(ggc_alloc): Use OBJECT_SIZE.
(ggc_set_mark): Likewise.
(ggc_get_size): Likewise.
(init_ggc): Set up the object_size_table, objects_per_page_table,
and adjust size_lookup.
(ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
(ggc_pop_context): Use NUM_ORDERS.
(clear_marks): Likewise.
(sweep_pages): Likewise.
(poison_pages): Likewise.
(ggc_print_statistics): Use OBJECT_SIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38692 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/lang/Void.java')
0 files changed, 0 insertions, 0 deletions

