* shared.cc (shared_info::heap_chunk_size): Be really defensive about making
sure that heap_chunk is set.
This commit is contained in:
parent
496e018f2f
commit
f51e42acc8
|
@ -1,3 +1,8 @@
|
|||
2003-06-04 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* shared.cc (shared_info::heap_chunk_size): Be really defensive about
|
||||
making sure that heap_chunk is set.
|
||||
|
||||
2003-06-04 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* path.cc (conv_path_list): Use correct value when calculating length
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue