Rizin
unix-like reverse engineering framework and cli tools
size_classes.h
Go to the documentation of this file.
1
/* This file was automatically generated by size_classes.sh. */
2
/******************************************************************************/
3
#ifdef JEMALLOC_H_TYPES
4
5
/*
6
* This header requires LG_SIZEOF_PTR, LG_TINY_MIN, LG_QUANTUM, and LG_PAGE to
7
* be defined prior to inclusion, and it in turn defines:
8
*
9
* LG_SIZE_CLASS_GROUP: Lg of size class count for each size doubling.
10
* SIZE_CLASSES: Complete table of SC(index, lg_grp, lg_delta, ndelta, psz,
11
* bin, lg_delta_lookup) tuples.
12
* index: Size class index.
13
* lg_grp: Lg group base size (no deltas added).
14
* lg_delta: Lg delta to previous size class.
15
* ndelta: Delta multiplier. size == 1<<lg_grp + ndelta<<lg_delta
16
* psz: 'yes' if a multiple of the page size, 'no' otherwise.
17
* bin: 'yes' if a small bin size class, 'no' otherwise.
18
* lg_delta_lookup: Same as lg_delta if a lookup table size class, 'no'
19
* otherwise.
20
* NTBINS: Number of tiny bins.
21
* NLBINS: Number of bins supported by the lookup table.
22
* JM_NBINS: Number of small size class bins.
23
* NSIZES: Number of size classes.
24
* NPSIZES: Number of size classes that are a multiple of (1U << LG_PAGE).
25
* LG_TINY_MAXCLASS: Lg of maximum tiny size class.
26
* LOOKUP_MAXCLASS: Maximum size class included in lookup table.
27
* SMALL_MAXCLASS: Maximum small size class.
28
* LG_LARGE_MINCLASS: Lg of minimum large size class.
29
* HUGE_MAXCLASS: Maximum (huge) size class.
30
*/
31
32
#define LG_SIZE_CLASS_GROUP 2
33
34
#if (LG_SIZEOF_PTR == 2 && LG_TINY_MIN == 3 && LG_QUANTUM == 3 && LG_PAGE == 12)
35
#define SIZE_CLASSES \
36
/* index, lg_grp, lg_delta, ndelta, psz, bin, lg_delta_lookup */
\
37
SC( 0, 3, 3, 0, no, yes, 3) \
38
SC( 1, 3, 3, 1, no, yes, 3) \
39
SC( 2, 3, 3, 2, no, yes, 3) \
40
SC( 3, 3, 3, 3, no, yes, 3) \
41
\
42
SC( 4, 5, 3, 1, no, yes, 3) \
43
SC( 5, 5, 3, 2, no, yes, 3) \
44
SC( 6, 5, 3, 3, no, yes, 3) \
45
SC( 7, 5, 3, 4, no, yes, 3) \
46
\
47
SC( 8, 6, 4, 1, no, yes, 4) \
48
SC( 9, 6, 4, 2, no, yes, 4) \
49
SC( 10, 6, 4, 3, no, yes, 4) \
50
SC( 11, 6, 4, 4, no, yes, 4) \
51
\
52
SC( 12, 7, 5, 1, no, yes, 5) \
53
SC( 13, 7, 5, 2, no, yes, 5) \
54
SC( 14, 7, 5, 3, no, yes, 5) \
55
SC( 15, 7, 5, 4, no, yes, 5) \
56
\
57
SC( 16, 8, 6, 1, no, yes, 6) \
58
SC( 17, 8, 6, 2, no, yes, 6) \
59
SC( 18, 8, 6, 3, no, yes, 6) \
60
SC( 19, 8, 6, 4, no, yes, 6) \
61
\
62
SC( 20, 9, 7, 1, no, yes, 7) \
63
SC( 21, 9, 7, 2, no, yes, 7) \
64
SC( 22, 9, 7, 3, no, yes, 7) \
65
SC( 23, 9, 7, 4, no, yes, 7) \
66
\
67
SC( 24, 10, 8, 1, no, yes, 8) \
68
SC( 25, 10, 8, 2, no, yes, 8) \
69
SC( 26, 10, 8, 3, no, yes, 8) \
70
SC( 27, 10, 8, 4, no, yes, 8) \
71
\
72
SC( 28, 11, 9, 1, no, yes, 9) \
73
SC( 29, 11, 9, 2, no, yes, 9) \
74
SC( 30, 11, 9, 3, no, yes, 9) \
75
SC( 31, 11, 9, 4, yes, yes, 9) \
76
\
77
SC( 32, 12, 10, 1, no, yes, no) \
78
SC( 33, 12, 10, 2, no, yes, no) \
79
SC( 34, 12, 10, 3, no, yes, no) \
80
SC( 35, 12, 10, 4, yes, yes, no) \
81
\
82
SC( 36, 13, 11, 1, no, yes, no) \
83
SC( 37, 13, 11, 2, yes, yes, no) \
84
SC( 38, 13, 11, 3, no, yes, no) \
85
SC( 39, 13, 11, 4, yes, no, no) \
86
\
87
SC( 40, 14, 12, 1, yes, no, no) \
88
SC( 41, 14, 12, 2, yes, no, no) \
89
SC( 42, 14, 12, 3, yes, no, no) \
90
SC( 43, 14, 12, 4, yes, no, no) \
91
\
92
SC( 44, 15, 13, 1, yes, no, no) \
93
SC( 45, 15, 13, 2, yes, no, no) \
94
SC( 46, 15, 13, 3, yes, no, no) \
95
SC( 47, 15, 13, 4, yes, no, no) \
96
\
97
SC( 48, 16, 14, 1, yes, no, no) \
98
SC( 49, 16, 14, 2, yes, no, no) \
99
SC( 50, 16, 14, 3, yes, no, no) \
100
SC( 51, 16, 14, 4, yes, no, no) \
101
\
102
SC( 52, 17, 15, 1, yes, no, no) \
103
SC( 53, 17, 15, 2, yes, no, no) \
104
SC( 54, 17, 15, 3, yes, no, no) \
105
SC( 55, 17, 15, 4, yes, no, no) \
106
\
107
SC( 56, 18, 16, 1, yes, no, no) \
108
SC( 57, 18, 16, 2, yes, no, no) \
109
SC( 58, 18, 16, 3, yes, no, no) \
110
SC( 59, 18, 16, 4, yes, no, no) \
111
\
112
SC( 60, 19, 17, 1, yes, no, no) \
113
SC( 61, 19, 17, 2, yes, no, no) \
114
SC( 62, 19, 17, 3, yes, no, no) \
115
SC( 63, 19, 17, 4, yes, no, no) \
116
\
117
SC( 64, 20, 18, 1, yes, no, no) \
118
SC( 65, 20, 18, 2, yes, no, no) \
119
SC( 66, 20, 18, 3, yes, no, no) \
120
SC( 67, 20, 18, 4, yes, no, no) \
121
\
122
SC( 68, 21, 19, 1, yes, no, no) \
123
SC( 69, 21, 19, 2, yes, no, no) \
124
SC( 70, 21, 19, 3, yes, no, no) \
125
SC( 71, 21, 19, 4, yes, no, no) \
126
\
127
SC( 72, 22, 20, 1, yes, no, no) \
128
SC( 73, 22, 20, 2, yes, no, no) \
129
SC( 74, 22, 20, 3, yes, no, no) \
130
SC( 75, 22, 20, 4, yes, no, no) \
131
\
132
SC( 76, 23, 21, 1, yes, no, no) \
133
SC( 77, 23, 21, 2, yes, no, no) \
134
SC( 78, 23, 21, 3, yes, no, no) \
135
SC( 79, 23, 21, 4, yes, no, no) \
136
\
137
SC( 80, 24, 22, 1, yes, no, no) \
138
SC( 81, 24, 22, 2, yes, no, no) \
139
SC( 82, 24, 22, 3, yes, no, no) \
140
SC( 83, 24, 22, 4, yes, no, no) \
141
\
142
SC( 84, 25, 23, 1, yes, no, no) \
143
SC( 85, 25, 23, 2, yes, no, no) \
144
SC( 86, 25, 23, 3, yes, no, no) \
145
SC( 87, 25, 23, 4, yes, no, no) \
146
\
147
SC( 88, 26, 24, 1, yes, no, no) \
148
SC( 89, 26, 24, 2, yes, no, no) \
149
SC( 90, 26, 24, 3, yes, no, no) \
150
SC( 91, 26, 24, 4, yes, no, no) \
151
\
152
SC( 92, 27, 25, 1, yes, no, no) \
153
SC( 93, 27, 25, 2, yes, no, no) \
154
SC( 94, 27, 25, 3, yes, no, no) \
155
SC( 95, 27, 25, 4, yes, no, no) \
156
\
157
SC( 96, 28, 26, 1, yes, no, no) \
158
SC( 97, 28, 26, 2, yes, no, no) \
159
SC( 98, 28, 26, 3, yes, no, no) \
160
SC( 99, 28, 26, 4, yes, no, no) \
161
\
162
SC(100, 29, 27, 1, yes, no, no) \
163
SC(101, 29, 27, 2, yes, no, no) \
164
SC(102, 29, 27, 3, yes, no, no) \
165
SC(103, 29, 27, 4, yes, no, no) \
166
\
167
SC(104, 30, 28, 1, yes, no, no) \
168
SC(105, 30, 28, 2, yes, no, no) \
169
SC(106, 30, 28, 3, yes, no, no) \
170
171
#define SIZE_CLASSES_DEFINED
172
#define NTBINS 0
173
#define NLBINS 32
174
#define JM_NBINS 39
175
#define NSIZES 107
176
#define NPSIZES 71
177
#define LG_TINY_MAXCLASS "NA"
178
#define LOOKUP_MAXCLASS ((((size_t)1) << 11) + (((size_t)4) << 9))
179
#define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11))
180
#define LG_LARGE_MINCLASS 14
181
#define HUGE_MAXCLASS ((((size_t)1) << 30) + (((size_t)3) << 28))
182
#endif
183
184
#if (LG_SIZEOF_PTR == 2 && LG_TINY_MIN == 3 && LG_QUANTUM == 4 && LG_PAGE == 12)
185
#define SIZE_CLASSES \
186
/* index, lg_grp, lg_delta, ndelta, psz, bin, lg_delta_lookup */
\
187
SC( 0, 3, 3, 0, no, yes, 3) \
188
\
189
SC( 1, 3, 3, 1, no, yes, 3) \
190
SC( 2, 4, 4, 1, no, yes, 4) \
191
SC( 3, 4, 4, 2, no, yes, 4) \
192
SC( 4, 4, 4, 3, no, yes, 4) \
193
\
194
SC( 5, 6, 4, 1, no, yes, 4) \
195
SC( 6, 6, 4, 2, no, yes, 4) \
196
SC( 7, 6, 4, 3, no, yes, 4) \
197
SC( 8, 6, 4, 4, no, yes, 4) \
198
\
199
SC( 9, 7, 5, 1, no, yes, 5) \
200
SC( 10, 7, 5, 2, no, yes, 5) \
201
SC( 11, 7, 5, 3, no, yes, 5) \
202
SC( 12, 7, 5, 4, no, yes, 5) \
203
\
204
SC( 13, 8, 6, 1, no, yes, 6) \
205
SC( 14, 8, 6, 2, no, yes, 6) \
206
SC( 15, 8, 6, 3, no, yes, 6) \
207
SC( 16, 8, 6, 4, no, yes, 6) \
208
\
209
SC( 17, 9, 7, 1, no, yes, 7) \
210
SC( 18, 9, 7, 2, no, yes, 7) \
211
SC( 19, 9, 7, 3, no, yes, 7) \
212
SC( 20, 9, 7, 4, no, yes, 7) \
213
\
214
SC( 21, 10, 8, 1, no, yes, 8) \
215
SC( 22, 10, 8, 2, no, yes, 8) \
216
SC( 23, 10, 8, 3, no, yes, 8) \
217
SC( 24, 10, 8, 4, no, yes, 8) \
218
\
219
SC( 25, 11, 9, 1, no, yes, 9) \
220
SC( 26, 11, 9, 2, no, yes, 9) \
221
SC( 27, 11, 9, 3, no, yes, 9) \
222
SC( 28, 11, 9, 4, yes, yes, 9) \
223
\
224
SC( 29, 12, 10, 1, no, yes, no) \
225
SC( 30, 12, 10, 2, no, yes, no) \
226
SC( 31, 12, 10, 3, no, yes, no) \
227
SC( 32, 12, 10, 4, yes, yes, no) \
228
\
229
SC( 33, 13, 11, 1, no, yes, no) \
230
SC( 34, 13, 11, 2, yes, yes, no) \
231
SC( 35, 13, 11, 3, no, yes, no) \
232
SC( 36, 13, 11, 4, yes, no, no) \
233
\
234
SC( 37, 14, 12, 1, yes, no, no) \
235
SC( 38, 14, 12, 2, yes, no, no) \
236
SC( 39, 14, 12, 3, yes, no, no) \
237
SC( 40, 14, 12, 4, yes, no, no) \
238
\
239
SC( 41, 15, 13, 1, yes, no, no) \
240
SC( 42, 15, 13, 2, yes, no, no) \
241
SC( 43, 15, 13, 3, yes, no, no) \
242
SC( 44, 15, 13, 4, yes, no, no) \
243
\
244
SC( 45, 16, 14, 1, yes, no, no) \
245
SC( 46, 16, 14, 2, yes, no, no) \
246
SC( 47, 16, 14, 3, yes, no, no) \
247
SC( 48, 16, 14, 4, yes, no, no) \
248
\
249
SC( 49, 17, 15, 1, yes, no, no) \
250
SC( 50, 17, 15, 2, yes, no, no) \
251
SC( 51, 17, 15, 3, yes, no, no) \
252
SC( 52, 17, 15, 4, yes, no, no) \
253
\
254
SC( 53, 18, 16, 1, yes, no, no) \
255
SC( 54, 18, 16, 2, yes, no, no) \
256
SC( 55, 18, 16, 3, yes, no, no) \
257
SC( 56, 18, 16, 4, yes, no, no) \
258
\
259
SC( 57, 19, 17, 1, yes, no, no) \
260
SC( 58, 19, 17, 2, yes, no, no) \
261
SC( 59, 19, 17, 3, yes, no, no) \
262
SC( 60, 19, 17, 4, yes, no, no) \
263
\
264
SC( 61, 20, 18, 1, yes, no, no) \
265
SC( 62, 20, 18, 2, yes, no, no) \
266
SC( 63, 20, 18, 3, yes, no, no) \
267
SC( 64, 20, 18, 4, yes, no, no) \
268
\
269
SC( 65, 21, 19, 1, yes, no, no) \
270
SC( 66, 21, 19, 2, yes, no, no) \
271
SC( 67, 21, 19, 3, yes, no, no) \
272
SC( 68, 21, 19, 4, yes, no, no) \
273
\
274
SC( 69, 22, 20, 1, yes, no, no) \
275
SC( 70, 22, 20, 2, yes, no, no) \
276
SC( 71, 22, 20, 3, yes, no, no) \
277
SC( 72, 22, 20, 4, yes, no, no) \
278
\
279
SC( 73, 23, 21, 1, yes, no, no) \
280
SC( 74, 23, 21, 2, yes, no, no) \
281
SC( 75, 23, 21, 3, yes, no, no) \
282
SC( 76, 23, 21, 4, yes, no, no) \
283
\
284
SC( 77, 24, 22, 1, yes, no, no) \
285
SC( 78, 24, 22, 2, yes, no, no) \
286
SC( 79, 24, 22, 3, yes, no, no) \
287
SC( 80, 24, 22, 4, yes, no, no) \
288
\
289
SC( 81, 25, 23, 1, yes, no, no) \
290
SC( 82, 25, 23, 2, yes, no, no) \
291
SC( 83, 25, 23, 3, yes, no, no) \
292
SC( 84, 25, 23, 4, yes, no, no) \
293
\
294
SC( 85, 26, 24, 1, yes, no, no) \
295
SC( 86, 26, 24, 2, yes, no, no) \
296
SC( 87, 26, 24, 3, yes, no, no) \
297
SC( 88, 26, 24, 4, yes, no, no) \
298
\
299
SC( 89, 27, 25, 1, yes, no, no) \
300
SC( 90, 27, 25, 2, yes, no, no) \
301
SC( 91, 27, 25, 3, yes, no, no) \
302
SC( 92, 27, 25, 4, yes, no, no) \
303
\
304
SC( 93, 28, 26, 1, yes, no, no) \
305
SC( 94, 28, 26, 2, yes, no, no) \
306
SC( 95, 28, 26, 3, yes, no, no) \
307
SC( 96, 28, 26, 4, yes, no, no) \
308
\
309
SC( 97, 29, 27, 1, yes, no, no) \
310
SC( 98, 29, 27, 2, yes, no, no) \
311
SC( 99, 29, 27, 3, yes, no, no) \
312
SC(100, 29, 27, 4, yes, no, no) \
313
\
314
SC(101, 30, 28, 1, yes, no, no) \
315
SC(102, 30, 28, 2, yes, no, no) \
316
SC(103, 30, 28, 3, yes, no, no) \
317
318
#define SIZE_CLASSES_DEFINED
319
#define NTBINS 1
320
#define NLBINS 29
321
#define JM_NBINS 36
322
#define NSIZES 104
323
#define NPSIZES 71
324
#define LG_TINY_MAXCLASS 3
325
#define LOOKUP_MAXCLASS ((((size_t)1) << 11) + (((size_t)4) << 9))
326
#define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11))
327
#define LG_LARGE_MINCLASS 14
328
#define HUGE_MAXCLASS ((((size_t)1) << 30) + (((size_t)3) << 28))
329
#endif
330
331
#if (LG_SIZEOF_PTR == 2 && LG_TINY_MIN == 4 && LG_QUANTUM == 4 && LG_PAGE == 12)
332
#define SIZE_CLASSES \
333
/* index, lg_grp, lg_delta, ndelta, psz, bin, lg_delta_lookup */
\
334
SC( 0, 4, 4, 0, no, yes, 4) \
335
SC( 1, 4, 4, 1, no, yes, 4) \
336
SC( 2, 4, 4, 2, no, yes, 4) \
337
SC( 3, 4, 4, 3, no, yes, 4) \
338
\
339
SC( 4, 6, 4, 1, no, yes, 4) \
340
SC( 5, 6, 4, 2, no, yes, 4) \
341
SC( 6, 6, 4, 3, no, yes, 4) \
342
SC( 7, 6, 4, 4, no, yes, 4) \
343
\
344
SC( 8, 7, 5, 1, no, yes, 5) \
345
SC( 9, 7, 5, 2, no, yes, 5) \
346
SC( 10, 7, 5, 3, no, yes, 5) \
347
SC( 11, 7, 5, 4, no, yes, 5) \
348
\
349
SC( 12, 8, 6, 1, no, yes, 6) \
350
SC( 13, 8, 6, 2, no, yes, 6) \
351
SC( 14, 8, 6, 3, no, yes, 6) \
352
SC( 15, 8, 6, 4, no, yes, 6) \
353
\
354
SC( 16, 9, 7, 1, no, yes, 7) \
355
SC( 17, 9, 7, 2, no, yes, 7) \
356
SC( 18, 9, 7, 3, no, yes, 7) \
357
SC( 19, 9, 7, 4, no, yes, 7) \
358
\
359
SC( 20, 10, 8, 1, no, yes, 8) \
360
SC( 21, 10, 8, 2, no, yes, 8) \
361
SC( 22, 10, 8, 3, no, yes, 8) \
362
SC( 23, 10, 8, 4, no, yes, 8) \
363
\
364
SC( 24, 11, 9, 1, no, yes, 9) \
365
SC( 25, 11, 9, 2, no, yes, 9) \
366
SC( 26, 11, 9, 3, no, yes, 9) \
367
SC( 27, 11, 9, 4, yes, yes, 9) \
368
\
369
SC( 28, 12, 10, 1, no, yes, no) \
370
SC( 29, 12, 10, 2, no, yes, no) \
371
SC( 30, 12, 10, 3, no, yes, no) \
372
SC( 31, 12, 10, 4, yes, yes, no) \
373
\
374
SC( 32, 13, 11, 1, no, yes, no) \
375
SC( 33, 13, 11, 2, yes, yes, no) \
376
SC( 34, 13, 11, 3, no, yes, no) \
377
SC( 35, 13, 11, 4, yes, no, no) \
378
\
379
SC( 36, 14, 12, 1, yes, no, no) \
380
SC( 37, 14, 12, 2, yes, no, no) \
381
SC( 38, 14, 12, 3, yes, no, no) \
382
SC( 39, 14, 12, 4, yes, no, no) \
383
\
384
SC( 40, 15, 13, 1, yes, no, no) \
385
SC( 41, 15, 13, 2, yes, no, no) \
386
SC( 42, 15, 13, 3, yes, no, no) \
387
SC( 43, 15, 13, 4, yes, no, no) \
388
\
389
SC( 44, 16, 14, 1, yes, no, no) \
390
SC( 45, 16, 14, 2, yes, no, no) \
391
SC( 46, 16, 14, 3, yes, no, no) \
392
SC( 47, 16, 14, 4, yes, no, no) \
393
\
394
SC( 48, 17, 15, 1, yes, no, no) \
395
SC( 49, 17, 15, 2, yes, no, no) \
396
SC( 50, 17, 15, 3, yes, no, no) \
397
SC( 51, 17, 15, 4, yes, no, no) \
398
\
399
SC( 52, 18, 16, 1, yes, no, no) \
400
SC( 53, 18, 16, 2, yes, no, no) \
401
SC( 54, 18, 16, 3, yes, no, no) \
402
SC( 55, 18, 16, 4, yes, no, no) \
403
\
404
SC( 56, 19, 17, 1, yes, no, no) \
405
SC( 57, 19, 17, 2, yes, no, no) \
406
SC( 58, 19, 17, 3, yes, no, no) \
407
SC( 59, 19, 17, 4, yes, no, no) \
408
\
409
SC( 60, 20, 18, 1, yes, no, no) \
410
SC( 61, 20, 18, 2, yes, no, no) \
411
SC( 62, 20, 18, 3, yes, no, no) \
412
SC( 63, 20, 18, 4, yes, no, no) \
413
\
414
SC( 64, 21, 19, 1, yes, no, no) \
415
SC( 65, 21, 19, 2, yes, no, no) \
416
SC( 66, 21, 19, 3, yes, no, no) \
417
SC( 67, 21, 19, 4, yes, no, no) \
418
\
419
SC( 68, 22, 20, 1, yes, no, no) \
420
SC( 69, 22, 20, 2, yes, no, no) \
421
SC( 70, 22, 20, 3, yes, no, no) \
422
SC( 71, 22, 20, 4, yes, no, no) \
423
\
424
SC( 72, 23, 21, 1, yes, no, no) \
425
SC( 73, 23, 21, 2, yes, no, no) \
426
SC( 74, 23, 21, 3, yes, no, no) \
427
SC( 75, 23, 21, 4, yes, no, no) \
428
\
429
SC( 76, 24, 22, 1, yes, no, no) \
430
SC( 77, 24, 22, 2, yes, no, no) \
431
SC( 78, 24, 22, 3, yes, no, no) \
432
SC( 79, 24, 22, 4, yes, no, no) \
433
\
434
SC( 80, 25, 23, 1, yes, no, no) \
435
SC( 81, 25, 23, 2, yes, no, no) \
436
SC( 82, 25, 23, 3, yes, no, no) \
437
SC( 83, 25, 23, 4, yes, no, no) \
438
\
439
SC( 84, 26, 24, 1, yes, no, no) \
440
SC( 85, 26, 24, 2, yes, no, no) \
441
SC( 86, 26, 24, 3, yes, no, no) \
442
SC( 87, 26, 24, 4, yes, no, no) \
443
\
444
SC( 88, 27, 25, 1, yes, no, no) \
445
SC( 89, 27, 25, 2, yes, no, no) \
446
SC( 90, 27, 25, 3, yes, no, no) \
447
SC( 91, 27, 25, 4, yes, no, no) \
448
\
449
SC( 92, 28, 26, 1, yes, no, no) \
450
SC( 93, 28, 26, 2, yes, no, no) \
451
SC( 94, 28, 26, 3, yes, no, no) \
452
SC( 95, 28, 26, 4, yes, no, no) \
453
\
454
SC( 96, 29, 27, 1, yes, no, no) \
455
SC( 97, 29, 27, 2, yes, no, no) \
456
SC( 98, 29, 27, 3, yes, no, no) \
457
SC( 99, 29, 27, 4, yes, no, no) \
458
\
459
SC(100, 30, 28, 1, yes, no, no) \
460
SC(101, 30, 28, 2, yes, no, no) \
461
SC(102, 30, 28, 3, yes, no, no) \
462
463
#define SIZE_CLASSES_DEFINED
464
#define NTBINS 0
465
#define NLBINS 28
466
#define JM_NBINS 35
467
#define NSIZES 103
468
#define NPSIZES 71
469
#define LG_TINY_MAXCLASS "NA"
470
#define LOOKUP_MAXCLASS ((((size_t)1) << 11) + (((size_t)4) << 9))
471
#define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11))
472
#define LG_LARGE_MINCLASS 14
473
#define HUGE_MAXCLASS ((((size_t)1) << 30) + (((size_t)3) << 28))
474
#endif
475
476
#if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 3 && LG_QUANTUM == 3 && LG_PAGE == 12)
477
#define SIZE_CLASSES \
478
/* index, lg_grp, lg_delta, ndelta, psz, bin, lg_delta_lookup */
\
479
SC( 0, 3, 3, 0, no, yes, 3) \
480
SC( 1, 3, 3, 1, no, yes, 3) \
481
SC( 2, 3, 3, 2, no, yes, 3) \
482
SC( 3, 3, 3, 3, no, yes, 3) \
483
\
484
SC( 4, 5, 3, 1, no, yes, 3) \
485
SC( 5, 5, 3, 2, no, yes, 3) \
486
SC( 6, 5, 3, 3, no, yes, 3) \
487
SC( 7, 5, 3, 4, no, yes, 3) \
488
\
489
SC( 8, 6, 4, 1, no, yes, 4) \
490
SC( 9, 6, 4, 2, no, yes, 4) \
491
SC( 10, 6, 4, 3, no, yes, 4) \
492
SC( 11, 6, 4, 4, no, yes, 4) \
493
\
494
SC( 12, 7, 5, 1, no, yes, 5) \
495
SC( 13, 7, 5, 2, no, yes, 5) \
496
SC( 14, 7, 5, 3, no, yes, 5) \
497
SC( 15, 7, 5, 4, no, yes, 5) \
498
\
499
SC( 16, 8, 6, 1, no, yes, 6) \
500
SC( 17, 8, 6, 2, no, yes, 6) \
501
SC( 18, 8, 6, 3, no, yes, 6) \
502
SC( 19, 8, 6, 4, no, yes, 6) \
503
\
504
SC( 20, 9, 7, 1, no, yes, 7) \
505
SC( 21, 9, 7, 2, no, yes, 7) \
506
SC( 22, 9, 7, 3, no, yes, 7) \
507
SC( 23, 9, 7, 4, no, yes, 7) \
508
\
509
SC( 24, 10, 8, 1, no, yes, 8) \
510
SC( 25, 10, 8, 2, no, yes, 8) \
511
SC( 26, 10, 8, 3, no, yes, 8) \
512
SC( 27, 10, 8, 4, no, yes, 8) \
513
\
514
SC( 28, 11, 9, 1, no, yes, 9) \
515
SC( 29, 11, 9, 2, no, yes, 9) \
516
SC( 30, 11, 9, 3, no, yes, 9) \
517
SC( 31, 11, 9, 4, yes, yes, 9) \
518
\
519
SC( 32, 12, 10, 1, no, yes, no) \
520
SC( 33, 12, 10, 2, no, yes, no) \
521
SC( 34, 12, 10, 3, no, yes, no) \
522
SC( 35, 12, 10, 4, yes, yes, no) \
523
\
524
SC( 36, 13, 11, 1, no, yes, no) \
525
SC( 37, 13, 11, 2, yes, yes, no) \
526
SC( 38, 13, 11, 3, no, yes, no) \
527
SC( 39, 13, 11, 4, yes, no, no) \
528
\
529
SC( 40, 14, 12, 1, yes, no, no) \
530
SC( 41, 14, 12, 2, yes, no, no) \
531
SC( 42, 14, 12, 3, yes, no, no) \
532
SC( 43, 14, 12, 4, yes, no, no) \
533
\
534
SC( 44, 15, 13, 1, yes, no, no) \
535
SC( 45, 15, 13, 2, yes, no, no) \
536
SC( 46, 15, 13, 3, yes, no, no) \
537
SC( 47, 15, 13, 4, yes, no, no) \
538
\
539
SC( 48, 16, 14, 1, yes, no, no) \
540
SC( 49, 16, 14, 2, yes, no, no) \
541
SC( 50, 16, 14, 3, yes, no, no) \
542
SC( 51, 16, 14, 4, yes, no, no) \
543
\
544
SC( 52, 17, 15, 1, yes, no, no) \
545
SC( 53, 17, 15, 2, yes, no, no) \
546
SC( 54, 17, 15, 3, yes, no, no) \
547
SC( 55, 17, 15, 4, yes, no, no) \
548
\
549
SC( 56, 18, 16, 1, yes, no, no) \
550
SC( 57, 18, 16, 2, yes, no, no) \
551
SC( 58, 18, 16, 3, yes, no, no) \
552
SC( 59, 18, 16, 4, yes, no, no) \
553
\
554
SC( 60, 19, 17, 1, yes, no, no) \
555
SC( 61, 19, 17, 2, yes, no, no) \
556
SC( 62, 19, 17, 3, yes, no, no) \
557
SC( 63, 19, 17, 4, yes, no, no) \
558
\
559
SC( 64, 20, 18, 1, yes, no, no) \
560
SC( 65, 20, 18, 2, yes, no, no) \
561
SC( 66, 20, 18, 3, yes, no, no) \
562
SC( 67, 20, 18, 4, yes, no, no) \
563
\
564
SC( 68, 21, 19, 1, yes, no, no) \
565
SC( 69, 21, 19, 2, yes, no, no) \
566
SC( 70, 21, 19, 3, yes, no, no) \
567
SC( 71, 21, 19, 4, yes, no, no) \
568
\
569
SC( 72, 22, 20, 1, yes, no, no) \
570
SC( 73, 22, 20, 2, yes, no, no) \
571
SC( 74, 22, 20, 3, yes, no, no) \
572
SC( 75, 22, 20, 4, yes, no, no) \
573
\
574
SC( 76, 23, 21, 1, yes, no, no) \
575
SC( 77, 23, 21, 2, yes, no, no) \
576
SC( 78, 23, 21, 3, yes, no, no) \
577
SC( 79, 23, 21, 4, yes, no, no) \
578
\
579
SC( 80, 24, 22, 1, yes, no, no) \
580
SC( 81, 24, 22, 2, yes, no, no) \
581
SC( 82, 24, 22, 3, yes, no, no) \
582
SC( 83, 24, 22, 4, yes, no, no) \
583
\
584
SC( 84, 25, 23, 1, yes, no, no) \
585
SC( 85, 25, 23, 2, yes, no, no) \
586
SC( 86, 25, 23, 3, yes, no, no) \
587
SC( 87, 25, 23, 4, yes, no, no) \
588
\
589
SC( 88, 26, 24, 1, yes, no, no) \
590
SC( 89, 26, 24, 2, yes, no, no) \
591
SC( 90, 26, 24, 3, yes, no, no) \
592
SC( 91, 26, 24, 4, yes, no, no) \
593
\
594
SC( 92, 27, 25, 1, yes, no, no) \
595
SC( 93, 27, 25, 2, yes, no, no) \
596
SC( 94, 27, 25, 3, yes, no, no) \
597
SC( 95, 27, 25, 4, yes, no, no) \
598
\
599
SC( 96, 28, 26, 1, yes, no, no) \
600
SC( 97, 28, 26, 2, yes, no, no) \
601
SC( 98, 28, 26, 3, yes, no, no) \
602
SC( 99, 28, 26, 4, yes, no, no) \
603
\
604
SC(100, 29, 27, 1, yes, no, no) \
605
SC(101, 29, 27, 2, yes, no, no) \
606
SC(102, 29, 27, 3, yes, no, no) \
607
SC(103, 29, 27, 4, yes, no, no) \
608
\
609
SC(104, 30, 28, 1, yes, no, no) \
610
SC(105, 30, 28, 2, yes, no, no) \
611
SC(106, 30, 28, 3, yes, no, no) \
612
SC(107, 30, 28, 4, yes, no, no) \
613
\
614
SC(108, 31, 29, 1, yes, no, no) \
615
SC(109, 31, 29, 2, yes, no, no) \
616
SC(110, 31, 29, 3, yes, no, no) \
617
SC(111, 31, 29, 4, yes, no, no) \
618
\
619
SC(112, 32, 30, 1, yes, no, no) \
620
SC(113, 32, 30, 2, yes, no, no) \
621
SC(114, 32, 30, 3, yes, no, no) \
622
SC(115, 32, 30, 4, yes, no, no) \
623
\
624
SC(116, 33, 31, 1, yes, no, no) \
625
SC(117, 33, 31, 2, yes, no, no) \
626
SC(118, 33, 31, 3, yes, no, no) \
627
SC(119, 33, 31, 4, yes, no, no) \
628
\
629
SC(120, 34, 32, 1, yes, no, no) \
630
SC(121, 34, 32, 2, yes, no, no) \
631
SC(122, 34, 32, 3, yes, no, no) \
632
SC(123, 34, 32, 4, yes, no, no) \
633
\
634
SC(124, 35, 33, 1, yes, no, no) \
635
SC(125, 35, 33, 2, yes, no, no) \
636
SC(126, 35, 33, 3, yes, no, no) \
637
SC(127, 35, 33, 4, yes, no, no) \
638
\
639
SC(128, 36, 34, 1, yes, no, no) \
640
SC(129, 36, 34, 2, yes, no, no) \
641
SC(130, 36, 34, 3, yes, no, no) \
642
SC(131, 36, 34, 4, yes, no, no) \
643
\
644
SC(132, 37, 35, 1, yes, no, no) \
645
SC(133, 37, 35, 2, yes, no, no) \
646
SC(134, 37, 35, 3, yes, no, no) \
647
SC(135, 37, 35, 4, yes, no, no) \
648
\
649
SC(136, 38, 36, 1, yes, no, no) \
650
SC(137, 38, 36, 2, yes, no, no) \
651
SC(138, 38, 36, 3, yes, no, no) \
652
SC(139, 38, 36, 4, yes, no, no) \
653
\
654
SC(140, 39, 37, 1, yes, no, no) \
655
SC(141, 39, 37, 2, yes, no, no) \
656
SC(142, 39, 37, 3, yes, no, no) \
657
SC(143, 39, 37, 4, yes, no, no) \
658
\
659
SC(144, 40, 38, 1, yes, no, no) \
660
SC(145, 40, 38, 2, yes, no, no) \
661
SC(146, 40, 38, 3, yes, no, no) \
662
SC(147, 40, 38, 4, yes, no, no) \
663
\
664
SC(148, 41, 39, 1, yes, no, no) \
665
SC(149, 41, 39, 2, yes, no, no) \
666
SC(150, 41, 39, 3, yes, no, no) \
667
SC(151, 41, 39, 4, yes, no, no) \
668
\
669
SC(152, 42, 40, 1, yes, no, no) \
670
SC(153, 42, 40, 2, yes, no, no) \
671
SC(154, 42, 40, 3, yes, no, no) \
672
SC(155, 42, 40, 4, yes, no, no) \
673
\
674
SC(156, 43, 41, 1, yes, no, no) \
675
SC(157, 43, 41, 2, yes, no, no) \
676
SC(158, 43, 41, 3, yes, no, no) \
677
SC(159, 43, 41, 4, yes, no, no) \
678
\
679
SC(160, 44, 42, 1, yes, no, no) \
680
SC(161, 44, 42, 2, yes, no, no) \
681
SC(162, 44, 42, 3, yes, no, no) \
682
SC(163, 44, 42, 4, yes, no, no) \
683
\
684
SC(164, 45, 43, 1, yes, no, no) \
685
SC(165, 45, 43, 2, yes, no, no) \
686
SC(166, 45, 43, 3, yes, no, no) \
687
SC(167, 45, 43, 4, yes, no, no) \
688
\
689
SC(168, 46, 44, 1, yes, no, no) \
690
SC(169, 46, 44, 2, yes, no, no) \
691
SC(170, 46, 44, 3, yes, no, no) \
692
SC(171, 46, 44, 4, yes, no, no) \
693
\
694
SC(172, 47, 45, 1, yes, no, no) \
695
SC(173, 47, 45, 2, yes, no, no) \
696
SC(174, 47, 45, 3, yes, no, no) \
697
SC(175, 47, 45, 4, yes, no, no) \
698
\
699
SC(176, 48, 46, 1, yes, no, no) \
700
SC(177, 48, 46, 2, yes, no, no) \
701
SC(178, 48, 46, 3, yes, no, no) \
702
SC(179, 48, 46, 4, yes, no, no) \
703
\
704
SC(180, 49, 47, 1, yes, no, no) \
705
SC(181, 49, 47, 2, yes, no, no) \
706
SC(182, 49, 47, 3, yes, no, no) \
707
SC(183, 49, 47, 4, yes, no, no) \
708
\
709
SC(184, 50, 48, 1, yes, no, no) \
710
SC(185, 50, 48, 2, yes, no, no) \
711
SC(186, 50, 48, 3, yes, no, no) \
712
SC(187, 50, 48, 4, yes, no, no) \
713
\
714
SC(188, 51, 49, 1, yes, no, no) \
715
SC(189, 51, 49, 2, yes, no, no) \
716
SC(190, 51, 49, 3, yes, no, no) \
717
SC(191, 51, 49, 4, yes, no, no) \
718
\
719
SC(192, 52, 50, 1, yes, no, no) \
720
SC(193, 52, 50, 2, yes, no, no) \
721
SC(194, 52, 50, 3, yes, no, no) \
722
SC(195, 52, 50, 4, yes, no, no) \
723
\
724
SC(196, 53, 51, 1, yes, no, no) \
725
SC(197, 53, 51, 2, yes, no, no) \
726
SC(198, 53, 51, 3, yes, no, no) \
727
SC(199, 53, 51, 4, yes, no, no) \
728
\
729
SC(200, 54, 52, 1, yes, no, no) \
730
SC(201, 54, 52, 2, yes, no, no) \
731
SC(202, 54, 52, 3, yes, no, no) \
732
SC(203, 54, 52, 4, yes, no, no) \
733
\
734
SC(204, 55, 53, 1, yes, no, no) \
735
SC(205, 55, 53, 2, yes, no, no) \
736
SC(206, 55, 53, 3, yes, no, no) \
737
SC(207, 55, 53, 4, yes, no, no) \
738
\
739
SC(208, 56, 54, 1, yes, no, no) \
740
SC(209, 56, 54, 2, yes, no, no) \
741
SC(210, 56, 54, 3, yes, no, no) \
742
SC(211, 56, 54, 4, yes, no, no) \
743
\
744
SC(212, 57, 55, 1, yes, no, no) \
745
SC(213, 57, 55, 2, yes, no, no) \
746
SC(214, 57, 55, 3, yes, no, no) \
747
SC(215, 57, 55, 4, yes, no, no) \
748
\
749
SC(216, 58, 56, 1, yes, no, no) \
750
SC(217, 58, 56, 2, yes, no, no) \
751
SC(218, 58, 56, 3, yes, no, no) \
752
SC(219, 58, 56, 4, yes, no, no) \
753
\
754
SC(220, 59, 57, 1, yes, no, no) \
755
SC(221, 59, 57, 2, yes, no, no) \
756
SC(222, 59, 57, 3, yes, no, no) \
757
SC(223, 59, 57, 4, yes, no, no) \
758
\
759
SC(224, 60, 58, 1, yes, no, no) \
760
SC(225, 60, 58, 2, yes, no, no) \
761
SC(226, 60, 58, 3, yes, no, no) \
762
SC(227, 60, 58, 4, yes, no, no) \
763
\
764
SC(228, 61, 59, 1, yes, no, no) \
765
SC(229, 61, 59, 2, yes, no, no) \
766
SC(230, 61, 59, 3, yes, no, no) \
767
SC(231, 61, 59, 4, yes, no, no) \
768
\
769
SC(232, 62, 60, 1, yes, no, no) \
770
SC(233, 62, 60, 2, yes, no, no) \
771
SC(234, 62, 60, 3, yes, no, no) \
772
773
#define SIZE_CLASSES_DEFINED
774
#define NTBINS 0
775
#define NLBINS 32
776
#define JM_NBINS 39
777
#define NSIZES 235
778
#define NPSIZES 199
779
#define LG_TINY_MAXCLASS "NA"
780
#define LOOKUP_MAXCLASS ((((size_t)1) << 11) + (((size_t)4) << 9))
781
#define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11))
782
#define LG_LARGE_MINCLASS 14
783
#define HUGE_MAXCLASS ((((size_t)1) << 62) + (((size_t)3) << 60))
784
#endif
785
786
#if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 3 && LG_QUANTUM == 4 && LG_PAGE == 12)
787
#define SIZE_CLASSES \
788
/* index, lg_grp, lg_delta, ndelta, psz, bin, lg_delta_lookup */
\
789
SC( 0, 3, 3, 0, no, yes, 3) \
790
\
791
SC( 1, 3, 3, 1, no, yes, 3) \
792
SC( 2, 4, 4, 1, no, yes, 4) \
793
SC( 3, 4, 4, 2, no, yes, 4) \
794
SC( 4, 4, 4, 3, no, yes, 4) \
795
\
796
SC( 5, 6, 4, 1, no, yes, 4) \
797
SC( 6, 6, 4, 2, no, yes, 4) \
798
SC( 7, 6, 4, 3, no, yes, 4) \
799
SC( 8, 6, 4, 4, no, yes, 4) \
800
\
801
SC( 9, 7, 5, 1, no, yes, 5) \
802
SC( 10, 7, 5, 2, no, yes, 5) \
803
SC( 11, 7, 5, 3, no, yes, 5) \
804
SC( 12, 7, 5, 4, no, yes, 5) \
805
\
806
SC( 13, 8, 6, 1, no, yes, 6) \
807
SC( 14, 8, 6, 2, no, yes, 6) \
808
SC( 15, 8, 6, 3, no, yes, 6) \
809
SC( 16, 8, 6, 4, no, yes, 6) \
810
\
811
SC( 17, 9, 7, 1, no, yes, 7) \
812
SC( 18, 9, 7, 2, no, yes, 7) \
813
SC( 19, 9, 7, 3, no, yes, 7) \
814
SC( 20, 9, 7, 4, no, yes, 7) \
815
\
816
SC( 21, 10, 8, 1, no, yes, 8) \
817
SC( 22, 10, 8, 2, no, yes, 8) \
818
SC( 23, 10, 8, 3, no, yes, 8) \
819
SC( 24, 10, 8, 4, no, yes, 8) \
820
\
821
SC( 25, 11, 9, 1, no, yes, 9) \
822
SC( 26, 11, 9, 2, no, yes, 9) \
823
SC( 27, 11, 9, 3, no, yes, 9) \
824
SC( 28, 11, 9, 4, yes, yes, 9) \
825
\
826
SC( 29, 12, 10, 1, no, yes, no) \
827
SC( 30, 12, 10, 2, no, yes, no) \
828
SC( 31, 12, 10, 3, no, yes, no) \
829
SC( 32, 12, 10, 4, yes, yes, no) \
830
\
831
SC( 33, 13, 11, 1, no, yes, no) \
832
SC( 34, 13, 11, 2, yes, yes, no) \
833
SC( 35, 13, 11, 3, no, yes, no) \
834
SC( 36, 13, 11, 4, yes, no, no) \
835
\
836
SC( 37, 14, 12, 1, yes, no, no) \
837
SC( 38, 14, 12, 2, yes, no, no) \
838
SC( 39, 14, 12, 3, yes, no, no) \
839
SC( 40, 14, 12, 4, yes, no, no) \
840
\
841
SC( 41, 15, 13, 1, yes, no, no) \
842
SC( 42, 15, 13, 2, yes, no, no) \
843
SC( 43, 15, 13, 3, yes, no, no) \
844
SC( 44, 15, 13, 4, yes, no, no) \
845
\
846
SC( 45, 16, 14, 1, yes, no, no) \
847
SC( 46, 16, 14, 2, yes, no, no) \
848
SC( 47, 16, 14, 3, yes, no, no) \
849
SC( 48, 16, 14, 4, yes, no, no) \
850
\
851
SC( 49, 17, 15, 1, yes, no, no) \
852
SC( 50, 17, 15, 2, yes, no, no) \
853
SC( 51, 17, 15, 3, yes, no, no) \
854
SC( 52, 17, 15, 4, yes, no, no) \
855
\
856
SC( 53, 18, 16, 1, yes, no, no) \
857
SC( 54, 18, 16, 2, yes, no, no) \
858
SC( 55, 18, 16, 3, yes, no, no) \
859
SC( 56, 18, 16, 4, yes, no, no) \
860
\
861
SC( 57, 19, 17, 1, yes, no, no) \
862
SC( 58, 19, 17, 2, yes, no, no) \
863
SC( 59, 19, 17, 3, yes, no, no) \
864
SC( 60, 19, 17, 4, yes, no, no) \
865
\
866
SC( 61, 20, 18, 1, yes, no, no) \
867
SC( 62, 20, 18, 2, yes, no, no) \
868
SC( 63, 20, 18, 3, yes, no, no) \
869
SC( 64, 20, 18, 4, yes, no, no) \
870
\
871
SC( 65, 21, 19, 1, yes, no, no) \
872
SC( 66, 21, 19, 2, yes, no, no) \
873
SC( 67, 21, 19, 3, yes, no, no) \
874
SC( 68, 21, 19, 4, yes, no, no) \
875
\
876
SC( 69, 22, 20, 1, yes, no, no) \
877
SC( 70, 22, 20, 2, yes, no, no) \
878
SC( 71, 22, 20, 3, yes, no, no) \
879
SC( 72, 22, 20, 4, yes, no, no) \
880
\
881
SC( 73, 23, 21, 1, yes, no, no) \
882
SC( 74, 23, 21, 2, yes, no, no) \
883
SC( 75, 23, 21, 3, yes, no, no) \
884
SC( 76, 23, 21, 4, yes, no, no) \
885
\
886
SC( 77, 24, 22, 1, yes, no, no) \
887
SC( 78, 24, 22, 2, yes, no, no) \
888
SC( 79, 24, 22, 3, yes, no, no) \
889
SC( 80, 24, 22, 4, yes, no, no) \
890
\
891
SC( 81, 25, 23, 1, yes, no, no) \
892
SC( 82, 25, 23, 2, yes, no, no) \
893
SC( 83, 25, 23, 3, yes, no, no) \
894
SC( 84, 25, 23, 4, yes, no, no) \
895
\
896
SC( 85, 26, 24, 1, yes, no, no) \
897
SC( 86, 26, 24, 2, yes, no, no) \
898
SC( 87, 26, 24, 3, yes, no, no) \
899
SC( 88, 26, 24, 4, yes, no, no) \
900
\
901
SC( 89, 27, 25, 1, yes, no, no) \
902
SC( 90, 27, 25, 2, yes, no, no) \
903
SC( 91, 27, 25, 3, yes, no, no) \
904
SC( 92, 27, 25, 4, yes, no, no) \
905
\
906
SC( 93, 28, 26, 1, yes, no, no) \
907
SC( 94, 28, 26, 2, yes, no, no) \
908
SC( 95, 28, 26, 3, yes, no, no) \
909
SC( 96, 28, 26, 4, yes, no, no) \
910
\
911
SC( 97, 29, 27, 1, yes, no, no) \
912
SC( 98, 29, 27, 2, yes, no, no) \
913
SC( 99, 29, 27, 3, yes, no, no) \
914
SC(100, 29, 27, 4, yes, no, no) \
915
\
916
SC(101, 30, 28, 1, yes, no, no) \
917
SC(102, 30, 28, 2, yes, no, no) \
918
SC(103, 30, 28, 3, yes, no, no) \
919
SC(104, 30, 28, 4, yes, no, no) \
920
\
921
SC(105, 31, 29, 1, yes, no, no) \
922
SC(106, 31, 29, 2, yes, no, no) \
923
SC(107, 31, 29, 3, yes, no, no) \
924
SC(108, 31, 29, 4, yes, no, no) \
925
\
926
SC(109, 32, 30, 1, yes, no, no) \
927
SC(110, 32, 30, 2, yes, no, no) \
928
SC(111, 32, 30, 3, yes, no, no) \
929
SC(112, 32, 30, 4, yes, no, no) \
930
\
931
SC(113, 33, 31, 1, yes, no, no) \
932
SC(114, 33, 31, 2, yes, no, no) \
933
SC(115, 33, 31, 3, yes, no, no) \
934
SC(116, 33, 31, 4, yes, no, no) \
935
\
936
SC(117, 34, 32, 1, yes, no, no) \
937
SC(118, 34, 32, 2, yes, no, no) \
938
SC(119, 34, 32, 3, yes, no, no) \
939
SC(120, 34, 32, 4, yes, no, no) \
940
\
941
SC(121, 35, 33, 1, yes, no, no) \
942
SC(122, 35, 33, 2, yes, no, no) \
943
SC(123, 35, 33, 3, yes, no, no) \
944
SC(124, 35, 33, 4, yes, no, no) \
945
\
946
SC(125, 36, 34, 1, yes, no, no) \
947
SC(126, 36, 34, 2, yes, no, no) \
948
SC(127, 36, 34, 3, yes, no, no) \
949
SC(128, 36, 34, 4, yes, no, no) \
950
\
951
SC(129, 37, 35, 1, yes, no, no) \
952
SC(130, 37, 35, 2, yes, no, no) \
953
SC(131, 37, 35, 3, yes, no, no) \
954
SC(132, 37, 35, 4, yes, no, no) \
955
\
956
SC(133, 38, 36, 1, yes, no, no) \
957
SC(134, 38, 36, 2, yes, no, no) \
958
SC(135, 38, 36, 3, yes, no, no) \
959
SC(136, 38, 36, 4, yes, no, no) \
960
\
961
SC(137, 39, 37, 1, yes, no, no) \
962
SC(138, 39, 37, 2, yes, no, no) \
963
SC(139, 39, 37, 3, yes, no, no) \
964
SC(140, 39, 37, 4, yes, no, no) \
965
\
966
SC(141, 40, 38, 1, yes, no, no) \
967
SC(142, 40, 38, 2, yes, no, no) \
968
SC(143, 40, 38, 3, yes, no, no) \
969
SC(144, 40, 38, 4, yes, no, no) \
970
\
971
SC(145, 41, 39, 1, yes, no, no) \
972
SC(146, 41, 39, 2, yes, no, no) \
973
SC(147, 41, 39, 3, yes, no, no) \
974
SC(148, 41, 39, 4, yes, no, no) \
975
\
976
SC(149, 42, 40, 1, yes, no, no) \
977
SC(150, 42, 40, 2, yes, no, no) \
978
SC(151, 42, 40, 3, yes, no, no) \
979
SC(152, 42, 40, 4, yes, no, no) \
980
\
981
SC(153, 43, 41, 1, yes, no, no) \
982
SC(154, 43, 41, 2, yes, no, no) \
983
SC(155, 43, 41, 3, yes, no, no) \
984
SC(156, 43, 41, 4, yes, no, no) \
985
\
986
SC(157, 44, 42, 1, yes, no, no) \
987
SC(158, 44, 42, 2, yes, no, no) \
988
SC(159, 44, 42, 3, yes, no, no) \
989
SC(160, 44, 42, 4, yes, no, no) \
990
\
991
SC(161, 45, 43, 1, yes, no, no) \
992
SC(162, 45, 43, 2, yes, no, no) \
993
SC(163, 45, 43, 3, yes, no, no) \
994
SC(164, 45, 43, 4, yes, no, no) \
995
\
996
SC(165, 46, 44, 1, yes, no, no) \
997
SC(166, 46, 44, 2, yes, no, no) \
998
SC(167, 46, 44, 3, yes, no, no) \
999
SC(168, 46, 44, 4, yes, no, no) \
1000
\
1001
SC(169, 47, 45, 1, yes, no, no) \
1002
SC(170, 47, 45, 2, yes, no, no) \
1003
SC(171, 47, 45, 3, yes, no, no) \
1004
SC(172, 47, 45, 4, yes, no, no) \
1005
\
1006
SC(173, 48, 46, 1, yes, no, no) \
1007
SC(174, 48, 46, 2, yes, no, no) \
1008
SC(175, 48, 46, 3, yes, no, no) \
1009
SC(176, 48, 46, 4, yes, no, no) \
1010
\
1011
SC(177, 49, 47, 1, yes, no, no) \
1012
SC(178, 49, 47, 2, yes, no, no) \
1013
SC(179, 49, 47, 3, yes, no, no) \
1014
SC(180, 49, 47, 4, yes, no, no) \
1015
\
1016
SC(181, 50, 48, 1, yes, no, no) \
1017
SC(182, 50, 48, 2, yes, no, no) \
1018
SC(183, 50, 48, 3, yes, no, no) \
1019
SC(184, 50, 48, 4, yes, no, no) \
1020
\
1021
SC(185, 51, 49, 1, yes, no, no) \
1022
SC(186, 51, 49, 2, yes, no, no) \
1023
SC(187, 51, 49, 3, yes, no, no) \
1024
SC(188, 51, 49, 4, yes, no, no) \
1025
\
1026
SC(189, 52, 50, 1, yes, no, no) \
1027
SC(190, 52, 50, 2, yes, no, no) \
1028
SC(191, 52, 50, 3, yes, no, no) \
1029
SC(192, 52, 50, 4, yes, no, no) \
1030
\
1031
SC(193, 53, 51, 1, yes, no, no) \
1032
SC(194, 53, 51, 2, yes, no, no) \
1033
SC(195, 53, 51, 3, yes, no, no) \
1034
SC(196, 53, 51, 4, yes, no, no) \
1035
\
1036
SC(197, 54, 52, 1, yes, no, no) \
1037
SC(198, 54, 52, 2, yes, no, no) \
1038
SC(199, 54, 52, 3, yes, no, no) \
1039
SC(200, 54, 52, 4, yes, no, no) \
1040
\
1041
SC(201, 55, 53, 1, yes, no, no) \
1042
SC(202, 55, 53, 2, yes, no, no) \
1043
SC(203, 55, 53, 3, yes, no, no) \
1044
SC(204, 55, 53, 4, yes, no, no) \
1045
\
1046
SC(205, 56, 54, 1, yes, no, no) \
1047
SC(206, 56, 54, 2, yes, no, no) \
1048
SC(207, 56, 54, 3, yes, no, no) \
1049
SC(208, 56, 54, 4, yes, no, no) \
1050
\
1051
SC(209, 57, 55, 1, yes, no, no) \
1052
SC(210, 57, 55, 2, yes, no, no) \
1053
SC(211, 57, 55, 3, yes, no, no) \
1054
SC(212, 57, 55, 4, yes, no, no) \
1055
\
1056
SC(213, 58, 56, 1, yes, no, no) \
1057
SC(214, 58, 56, 2, yes, no, no) \
1058
SC(215, 58, 56, 3, yes, no, no) \
1059
SC(216, 58, 56, 4, yes, no, no) \
1060
\
1061
SC(217, 59, 57, 1, yes, no, no) \
1062
SC(218, 59, 57, 2, yes, no, no) \
1063
SC(219, 59, 57, 3, yes, no, no) \
1064
SC(220, 59, 57, 4, yes, no, no) \
1065
\
1066
SC(221, 60, 58, 1, yes, no, no) \
1067
SC(222, 60, 58, 2, yes, no, no) \
1068
SC(223, 60, 58, 3, yes, no, no) \
1069
SC(224, 60, 58, 4, yes, no, no) \
1070
\
1071
SC(225, 61, 59, 1, yes, no, no) \
1072
SC(226, 61, 59, 2, yes, no, no) \
1073
SC(227, 61, 59, 3, yes, no, no) \
1074
SC(228, 61, 59, 4, yes, no, no) \
1075
\
1076
SC(229, 62, 60, 1, yes, no, no) \
1077
SC(230, 62, 60, 2, yes, no, no) \
1078
SC(231, 62, 60, 3, yes, no, no) \
1079
1080
#define SIZE_CLASSES_DEFINED
1081
#define NTBINS 1
1082
#define NLBINS 29
1083
#define JM_NBINS 36
1084
#define NSIZES 232
1085
#define NPSIZES 199
1086
#define LG_TINY_MAXCLASS 3
1087
#define LOOKUP_MAXCLASS ((((size_t)1) << 11) + (((size_t)4) << 9))
1088
#define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11))
1089
#define LG_LARGE_MINCLASS 14
1090
#define HUGE_MAXCLASS ((((size_t)1) << 62) + (((size_t)3) << 60))
1091
#endif
1092
1093
#if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 4 && LG_QUANTUM == 4 && LG_PAGE == 12)
1094
#define SIZE_CLASSES \
1095
/* index, lg_grp, lg_delta, ndelta, psz, bin, lg_delta_lookup */
\
1096
SC( 0, 4, 4, 0, no, yes, 4) \
1097
SC( 1, 4, 4, 1, no, yes, 4) \
1098
SC( 2, 4, 4, 2, no, yes, 4) \
1099
SC( 3, 4, 4, 3, no, yes, 4) \
1100
\
1101
SC( 4, 6, 4, 1, no, yes, 4) \
1102
SC( 5, 6, 4, 2, no, yes, 4) \
1103
SC( 6, 6, 4, 3, no, yes, 4) \
1104
SC( 7, 6, 4, 4, no, yes, 4) \
1105
\
1106
SC( 8, 7, 5, 1, no, yes, 5) \
1107
SC( 9, 7, 5, 2, no, yes, 5) \
1108
SC( 10, 7, 5, 3, no, yes, 5) \
1109
SC( 11, 7, 5, 4, no, yes, 5) \
1110
\
1111
SC( 12, 8, 6, 1, no, yes, 6) \
1112
SC( 13, 8, 6, 2, no, yes, 6) \
1113
SC( 14, 8, 6, 3, no, yes, 6) \
1114
SC( 15, 8, 6, 4, no, yes, 6) \
1115
\
1116
SC( 16, 9, 7, 1, no, yes, 7) \
1117
SC( 17, 9, 7, 2, no, yes, 7) \
1118
SC( 18, 9, 7, 3, no, yes, 7) \
1119
SC( 19, 9, 7, 4, no, yes, 7) \
1120
\
1121
SC( 20, 10, 8, 1, no, yes, 8) \
1122
SC( 21, 10, 8, 2, no, yes, 8) \
1123
SC( 22, 10, 8, 3, no, yes, 8) \
1124
SC( 23, 10, 8, 4, no, yes, 8) \
1125
\
1126
SC( 24, 11, 9, 1, no, yes, 9) \
1127
SC( 25, 11, 9, 2, no, yes, 9) \
1128
SC( 26, 11, 9, 3, no, yes, 9) \
1129
SC( 27, 11, 9, 4, yes, yes, 9) \
1130
\
1131
SC( 28, 12, 10, 1, no, yes, no) \
1132
SC( 29, 12, 10, 2, no, yes, no) \
1133
SC( 30, 12, 10, 3, no, yes, no) \
1134
SC( 31, 12, 10, 4, yes, yes, no) \
1135
\
1136
SC( 32, 13, 11, 1, no, yes, no) \
1137
SC( 33, 13, 11, 2, yes, yes, no) \
1138
SC( 34, 13, 11, 3, no, yes, no) \
1139
SC( 35, 13, 11, 4, yes, no, no) \
1140
\
1141
SC( 36, 14, 12, 1, yes, no, no) \
1142
SC( 37, 14, 12, 2, yes, no, no) \
1143
SC( 38, 14, 12, 3, yes, no, no) \
1144
SC( 39, 14, 12, 4, yes, no, no) \
1145
\
1146
SC( 40, 15, 13, 1, yes, no, no) \
1147
SC( 41, 15, 13, 2, yes, no, no) \
1148
SC( 42, 15, 13, 3, yes, no, no) \
1149
SC( 43, 15, 13, 4, yes, no, no) \
1150
\
1151
SC( 44, 16, 14, 1, yes, no, no) \
1152
SC( 45, 16, 14, 2, yes, no, no) \
1153
SC( 46, 16, 14, 3, yes, no, no) \
1154
SC( 47, 16, 14, 4, yes, no, no) \
1155
\
1156
SC( 48, 17, 15, 1, yes, no, no) \
1157
SC( 49, 17, 15, 2, yes, no, no) \
1158
SC( 50, 17, 15, 3, yes, no, no) \
1159
SC( 51, 17, 15, 4, yes, no, no) \
1160
\
1161
SC( 52, 18, 16, 1, yes, no, no) \
1162
SC( 53, 18, 16, 2, yes, no, no) \
1163
SC( 54, 18, 16, 3, yes, no, no) \
1164
SC( 55, 18, 16, 4, yes, no, no) \
1165
\
1166
SC( 56, 19, 17, 1, yes, no, no) \
1167
SC( 57, 19, 17, 2, yes, no, no) \
1168
SC( 58, 19, 17, 3, yes, no, no) \
1169
SC( 59, 19, 17, 4, yes, no, no) \
1170
\
1171
SC( 60, 20, 18, 1, yes, no, no) \
1172
SC( 61, 20, 18, 2, yes, no, no) \
1173
SC( 62, 20, 18, 3, yes, no, no) \
1174
SC( 63, 20, 18, 4, yes, no, no) \
1175
\
1176
SC( 64, 21, 19, 1, yes, no, no) \
1177
SC( 65, 21, 19, 2, yes, no, no) \
1178
SC( 66, 21, 19, 3, yes, no, no) \
1179
SC( 67, 21, 19, 4, yes, no, no) \
1180
\
1181
SC( 68, 22, 20, 1, yes, no, no) \
1182
SC( 69, 22, 20, 2, yes, no, no) \
1183
SC( 70, 22, 20, 3, yes, no, no) \
1184
SC( 71, 22, 20, 4, yes, no, no) \
1185
\
1186
SC( 72, 23, 21, 1, yes, no, no) \
1187
SC( 73, 23, 21, 2, yes, no, no) \
1188
SC( 74, 23, 21, 3, yes, no, no) \
1189
SC( 75, 23, 21, 4, yes, no, no) \
1190
\
1191
SC( 76, 24, 22, 1, yes, no, no) \
1192
SC( 77, 24, 22, 2, yes, no, no) \
1193
SC( 78, 24, 22, 3, yes, no, no) \
1194
SC( 79, 24, 22, 4, yes, no, no) \
1195
\
1196
SC( 80, 25, 23, 1, yes, no, no) \
1197
SC( 81, 25, 23, 2, yes, no, no) \
1198
SC( 82, 25, 23, 3, yes, no, no) \
1199
SC( 83, 25, 23, 4, yes, no, no) \
1200
\
1201
SC( 84, 26, 24, 1, yes, no, no) \
1202
SC( 85, 26, 24, 2, yes, no, no) \
1203
SC( 86, 26, 24, 3, yes, no, no) \
1204
SC( 87, 26, 24, 4, yes, no, no) \
1205
\
1206
SC( 88, 27, 25, 1, yes, no, no) \
1207
SC( 89, 27, 25, 2, yes, no, no) \
1208
SC( 90, 27, 25, 3, yes, no, no) \
1209
SC( 91, 27, 25, 4, yes, no, no) \
1210
\
1211
SC( 92, 28, 26, 1, yes, no, no) \
1212
SC( 93, 28, 26, 2, yes, no, no) \
1213
SC( 94, 28, 26, 3, yes, no, no) \
1214
SC( 95, 28, 26, 4, yes, no, no) \
1215
\
1216
SC( 96, 29, 27, 1, yes, no, no) \
1217
SC( 97, 29, 27, 2, yes, no, no) \
1218
SC( 98, 29, 27, 3, yes, no, no) \
1219
SC( 99, 29, 27, 4, yes, no, no) \
1220
\
1221
SC(100, 30, 28, 1, yes, no, no) \
1222
SC(101, 30, 28, 2, yes, no, no) \
1223
SC(102, 30, 28, 3, yes, no, no) \
1224
SC(103, 30, 28, 4, yes, no, no) \
1225
\
1226
SC(104, 31, 29, 1, yes, no, no) \
1227
SC(105, 31, 29, 2, yes, no, no) \
1228
SC(106, 31, 29, 3, yes, no, no) \
1229
SC(107, 31, 29, 4, yes, no, no) \
1230
\
1231
SC(108, 32, 30, 1, yes, no, no) \
1232
SC(109, 32, 30, 2, yes, no, no) \
1233
SC(110, 32, 30, 3, yes, no, no) \
1234
SC(111, 32, 30, 4, yes, no, no) \
1235
\
1236
SC(112, 33, 31, 1, yes, no, no) \
1237
SC(113, 33, 31, 2, yes, no, no) \
1238
SC(114, 33, 31, 3, yes, no, no) \
1239
SC(115, 33, 31, 4, yes, no, no) \
1240
\
1241
SC(116, 34, 32, 1, yes, no, no) \
1242
SC(117, 34, 32, 2, yes, no, no) \
1243
SC(118, 34, 32, 3, yes, no, no) \
1244
SC(119, 34, 32, 4, yes, no, no) \
1245
\
1246
SC(120, 35, 33, 1, yes, no, no) \
1247
SC(121, 35, 33, 2, yes, no, no) \
1248
SC(122, 35, 33, 3, yes, no, no) \
1249
SC(123, 35, 33, 4, yes, no, no) \
1250
\
1251
SC(124, 36, 34, 1, yes, no, no) \
1252
SC(125, 36, 34, 2, yes, no, no) \
1253
SC(126, 36, 34, 3, yes, no, no) \
1254
SC(127, 36, 34, 4, yes, no, no) \
1255
\
1256
SC(128, 37, 35, 1, yes, no, no) \
1257
SC(129, 37, 35, 2, yes, no, no) \
1258
SC(130, 37, 35, 3, yes, no, no) \
1259
SC(131, 37, 35, 4, yes, no, no) \
1260
\
1261
SC(132, 38, 36, 1, yes, no, no) \
1262
SC(133, 38, 36, 2, yes, no, no) \
1263
SC(134, 38, 36, 3, yes, no, no) \
1264
SC(135, 38, 36, 4, yes, no, no) \
1265
\
1266
SC(136, 39, 37, 1, yes, no, no) \
1267
SC(137, 39, 37, 2, yes, no, no) \
1268
SC(138, 39, 37, 3, yes, no, no) \
1269
SC(139, 39, 37, 4, yes, no, no) \
1270
\
1271
SC(140, 40, 38, 1, yes, no, no) \
1272
SC(141, 40, 38, 2, yes, no, no) \
1273
SC(142, 40, 38, 3, yes, no, no) \
1274
SC(143, 40, 38, 4, yes, no, no) \
1275
\
1276
SC(144, 41, 39, 1, yes, no, no) \
1277
SC(145, 41, 39, 2, yes, no, no) \
1278
SC(146, 41, 39, 3, yes, no, no) \
1279
SC(147, 41, 39, 4, yes, no, no) \
1280
\
1281
SC(148, 42, 40, 1, yes, no, no) \
1282
SC(149, 42, 40, 2, yes, no, no) \
1283
SC(150, 42, 40, 3, yes, no, no) \
1284
SC(151, 42, 40, 4, yes, no, no) \
1285
\
1286
SC(152, 43, 41, 1, yes, no, no) \
1287
SC(153, 43, 41, 2, yes, no, no) \
1288
SC(154, 43, 41, 3, yes, no, no) \
1289
SC(155, 43, 41, 4, yes, no, no) \
1290
\
1291
SC(156, 44, 42, 1, yes, no, no) \
1292
SC(157, 44, 42, 2, yes, no, no) \
1293
SC(158, 44, 42, 3, yes, no, no) \
1294
SC(159, 44, 42, 4, yes, no, no) \
1295
\
1296
SC(160, 45, 43, 1, yes, no, no) \
1297
SC(161, 45, 43, 2, yes, no, no) \
1298
SC(162, 45, 43, 3, yes, no, no) \
1299
SC(163, 45, 43, 4, yes, no, no) \
1300
\
1301
SC(164, 46, 44, 1, yes, no, no) \
1302
SC(165, 46, 44, 2, yes, no, no) \
1303
SC(166, 46, 44, 3, yes, no, no) \
1304
SC(167, 46, 44, 4, yes, no, no) \
1305
\
1306
SC(168, 47, 45, 1, yes, no, no) \
1307
SC(169, 47, 45, 2, yes, no, no) \
1308
SC(170, 47, 45, 3, yes, no, no) \
1309
SC(171, 47, 45, 4, yes, no, no) \
1310
\
1311
SC(172, 48, 46, 1, yes, no, no) \
1312
SC(173, 48, 46, 2, yes, no, no) \
1313
SC(174, 48, 46, 3, yes, no, no) \
1314
SC(175, 48, 46, 4, yes, no, no) \
1315
\
1316
SC(176, 49, 47, 1, yes, no, no) \
1317
SC(177, 49, 47, 2, yes, no, no) \
1318
SC(178, 49, 47, 3, yes, no, no) \
1319
SC(179, 49, 47, 4, yes, no, no) \
1320
\
1321
SC(180, 50, 48, 1, yes, no, no) \
1322
SC(181, 50, 48, 2, yes, no, no) \
1323
SC(182, 50, 48, 3, yes, no, no) \
1324
SC(183, 50, 48, 4, yes, no, no) \
1325
\
1326
SC(184, 51, 49, 1, yes, no, no) \
1327
SC(185, 51, 49, 2, yes, no, no) \
1328
SC(186, 51, 49, 3, yes, no, no) \
1329
SC(187, 51, 49, 4, yes, no, no) \
1330
\
1331
SC(188, 52, 50, 1, yes, no, no) \
1332
SC(189, 52, 50, 2, yes, no, no) \
1333
SC(190, 52, 50, 3, yes, no, no) \
1334
SC(191, 52, 50, 4, yes, no, no) \
1335
\
1336
SC(192, 53, 51, 1, yes, no, no) \
1337
SC(193, 53, 51, 2, yes, no, no) \
1338
SC(194, 53, 51, 3, yes, no, no) \
1339
SC(195, 53, 51, 4, yes, no, no) \
1340
\
1341
SC(196, 54, 52, 1, yes, no, no) \
1342
SC(197, 54, 52, 2, yes, no, no) \
1343
SC(198, 54, 52, 3, yes, no, no) \
1344
SC(199, 54, 52, 4, yes, no, no) \
1345
\
1346
SC(200, 55, 53, 1, yes, no, no) \
1347
SC(201, 55, 53, 2, yes, no, no) \
1348
SC(202, 55, 53, 3, yes, no, no) \
1349
SC(203, 55, 53, 4, yes, no, no) \
1350
\
1351
SC(204, 56, 54, 1, yes, no, no) \
1352
SC(205, 56, 54, 2, yes, no, no) \
1353
SC(206, 56, 54, 3, yes, no, no) \
1354
SC(207, 56, 54, 4, yes, no, no) \
1355
\
1356
SC(208, 57, 55, 1, yes, no, no) \
1357
SC(209, 57, 55, 2, yes, no, no) \
1358
SC(210, 57, 55, 3, yes, no, no) \
1359
SC(211, 57, 55, 4, yes, no, no) \
1360
\
1361
SC(212, 58, 56, 1, yes, no, no) \
1362
SC(213, 58, 56, 2, yes, no, no) \
1363
SC(214, 58, 56, 3, yes, no, no) \
1364
SC(215, 58, 56, 4, yes, no, no) \
1365
\
1366
SC(216, 59, 57, 1, yes, no, no) \
1367
SC(217, 59, 57, 2, yes, no, no) \
1368
SC(218, 59, 57, 3, yes, no, no) \
1369
SC(219, 59, 57, 4, yes, no, no) \
1370
\
1371
SC(220, 60, 58, 1, yes, no, no) \
1372
SC(221, 60, 58, 2, yes, no, no) \
1373
SC(222, 60, 58, 3, yes, no, no) \
1374
SC(223, 60, 58, 4, yes, no, no) \
1375
\
1376
SC(224, 61, 59, 1, yes, no, no) \
1377
SC(225, 61, 59, 2, yes, no, no) \
1378
SC(226, 61, 59, 3, yes, no, no) \
1379
SC(227, 61, 59, 4, yes, no, no) \
1380
\
1381
SC(228, 62, 60, 1, yes, no, no) \
1382
SC(229, 62, 60, 2, yes, no, no) \
1383
SC(230, 62, 60, 3, yes, no, no) \
1384
1385
#define SIZE_CLASSES_DEFINED
1386
#define NTBINS 0
1387
#define NLBINS 28
1388
#define JM_NBINS 35
1389
#define NSIZES 231
1390
#define NPSIZES 199
1391
#define LG_TINY_MAXCLASS "NA"
1392
#define LOOKUP_MAXCLASS ((((size_t)1) << 11) + (((size_t)4) << 9))
1393
#define SMALL_MAXCLASS ((((size_t)1) << 13) + (((size_t)3) << 11))
1394
#define LG_LARGE_MINCLASS 14
1395
#define HUGE_MAXCLASS ((((size_t)1) << 62) + (((size_t)3) << 60))
1396
#endif
1397
1398
#ifndef SIZE_CLASSES_DEFINED
1399
# error "No size class definitions match configuration"
1400
#endif
1401
#undef SIZE_CLASSES_DEFINED
1402
/*
1403
* The size2index_tab lookup table uses uint8_t to encode each bin index, so we
1404
* cannot support more than 256 small size classes. Further constrain JM_NBINS to
1405
* 255 since all small size classes, plus a "not small" size class must be
1406
* stored in 8 bits of arena_chunk_map_bits_t's bits field.
1407
*/
1408
#if (JM_NBINS > 255)
1409
# error "Too many small size classes"
1410
#endif
1411
1412
#endif
/* JEMALLOC_H_TYPES */
1413
/******************************************************************************/
1414
#ifdef JEMALLOC_H_STRUCTS
1415
1416
1417
#endif
/* JEMALLOC_H_STRUCTS */
1418
/******************************************************************************/
1419
#ifdef JEMALLOC_H_EXTERNS
1420
1421
1422
#endif
/* JEMALLOC_H_EXTERNS */
1423
/******************************************************************************/
1424
#ifdef JEMALLOC_H_INLINES
1425
1426
1427
#endif
/* JEMALLOC_H_INLINES */
1428
/******************************************************************************/
subprojects
rzheap
rz_jemalloc
internal
size_classes.h
Generated by
1.9.1