Mercurial > hg > CbC > CbC_gcc
comparison gcc/ggc-page.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* "Bag-of-pages" garbage collector for the GNU compiler. | 1 /* "Bag-of-pages" garbage collector for the GNU compiler. |
2 Copyright (C) 1999-2017 Free Software Foundation, Inc. | 2 Copyright (C) 1999-2018 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify it under | 6 GCC is free software; you can redistribute it and/or modify it under |
7 the terms of the GNU General Public License as published by the Free | 7 the terms of the GNU General Public License as published by the Free |
89 1: GC statistics only. | 89 1: GC statistics only. |
90 2: Page-entry allocations/deallocations as well. | 90 2: Page-entry allocations/deallocations as well. |
91 3: Object allocations as well. | 91 3: Object allocations as well. |
92 4: Object marks as well. */ | 92 4: Object marks as well. */ |
93 #define GGC_DEBUG_LEVEL (0) | 93 #define GGC_DEBUG_LEVEL (0) |
94 | |
95 #ifndef HOST_BITS_PER_PTR | |
96 #define HOST_BITS_PER_PTR HOST_BITS_PER_LONG | |
97 #endif | |
98 | |
99 | 94 |
100 /* A two-level tree is used to look up the page-entry for a given | 95 /* A two-level tree is used to look up the page-entry for a given |
101 pointer. Two chunks of the pointer's bits are extracted to index | 96 pointer. Two chunks of the pointer's bits are extracted to index |
102 the first and second levels of the tree, as follows: | 97 the first and second levels of the tree, as follows: |
103 | 98 |