* shared.cc (shared_info::heap_chunk_size): Be really defensive about making
sure that heap_chunk is set.
This commit is contained in:
@ -254,6 +254,8 @@ shared_info::heap_chunk_size ()
|
||||
heap_chunk = 4 * 1024 * 1024;
|
||||
else
|
||||
heap_chunk <<= 20;
|
||||
if (!heap_chunk)
|
||||
heap_chunk = 384 * 1024 * 1024;
|
||||
debug_printf ("fixed heap size is %u", heap_chunk);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user