Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MasterPatricko
mosml
mosml-malloc64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mosml-malloc64.patch of Package mosml
--- src/runtime/gc_ctrl.c.orig +++ src/runtime/gc_ctrl.c @@ -1,3 +1,7 @@ +/* mosml/src/runtime/gc_ctrl.c + Updated 2008-03-05 to prevent malloc from using mmap() +*/ +#include <malloc.h> #include "alloc.h" #include "debugger.h" #include "gc.h" @@ -191,6 +195,8 @@ void init_gc (long minor_size, long majo gc_message ("*** camlrunm: debug mode ***\n", 0); #endif verb_gc = verb; + /* Added 2008-03-05 to prevent malloc from using mmap() */ + mallopt(M_MMAP_MAX, 0); set_minor_heap_size (Bsize_wsize (norm_minsize (minor_size))); major_heap_increment = Bsize_wsize (norm_heapincr (major_incr)); percent_free = norm_pfree (percent_fr);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor