735 // If only the dictionary is going to be used (i.e., no |
735 // If only the dictionary is going to be used (i.e., no |
736 // indexed free list), then there is a minimum size requirement. |
736 // indexed free list), then there is a minimum size requirement. |
737 // MinChunkSize is a placeholder for the real minimum size JJJ |
737 // MinChunkSize is a placeholder for the real minimum size JJJ |
738 size_t byte_size = word_size * BytesPerWord; |
738 size_t byte_size = word_size * BytesPerWord; |
739 |
739 |
740 size_t byte_size_with_overhead = byte_size + Metablock::overhead(); |
740 size_t raw_bytes_size = MAX2(byte_size, |
741 |
|
742 size_t raw_bytes_size = MAX2(byte_size_with_overhead, |
|
743 Metablock::min_block_byte_size()); |
741 Metablock::min_block_byte_size()); |
744 raw_bytes_size = ARENA_ALIGN(raw_bytes_size); |
742 raw_bytes_size = ARENA_ALIGN(raw_bytes_size); |
745 size_t raw_word_size = raw_bytes_size / BytesPerWord; |
743 size_t raw_word_size = raw_bytes_size / BytesPerWord; |
746 assert(raw_word_size * BytesPerWord == raw_bytes_size, "Size problem"); |
744 assert(raw_word_size * BytesPerWord == raw_bytes_size, "Size problem"); |
747 |
745 |