diff options
| author | Jason Evans <jasone@canonware.com> | 2016-06-01 13:53:05 -0700 |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2016-06-05 20:42:24 -0700 |
| commit | a43db1c6088914d1a488abb93315e858c018419b (patch) | |
| tree | 7501bcfbf85aba7ed780535e87d9677fa9ea8218 /include/jemalloc | |
| parent | a83a31c1c5976d960bf9ef98ed7d9066d3d5b0f2 (diff) | |
| download | platform_external_jemalloc_new-a43db1c6088914d1a488abb93315e858c018419b.tar.gz platform_external_jemalloc_new-a43db1c6088914d1a488abb93315e858c018419b.tar.bz2 platform_external_jemalloc_new-a43db1c6088914d1a488abb93315e858c018419b.zip | |
Relax NBINS constraint (max 255 --> max 256).
Diffstat (limited to 'include/jemalloc')
| -rwxr-xr-x | include/jemalloc/internal/size_classes.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/jemalloc/internal/size_classes.sh b/include/jemalloc/internal/size_classes.sh index 38fe4902..5a57f87d 100755 --- a/include/jemalloc/internal/size_classes.sh +++ b/include/jemalloc/internal/size_classes.sh @@ -331,11 +331,9 @@ cat <<EOF #undef SIZE_CLASSES_DEFINED /* * The size2index_tab lookup table uses uint8_t to encode each bin index, so we - * cannot support more than 256 small size classes. Further constrain NBINS to - * 255 since all small size classes, plus a "not small" size class must be - * stored in 8 bits of arena_chunk_map_bits_t's bits field. + * cannot support more than 256 small size classes. */ -#if (NBINS > 255) +#if (NBINS > 256) # error "Too many small size classes" #endif |
