diff options
Diffstat (limited to 'byterun/gc_ctrl.c')
-rw-r--r-- | byterun/gc_ctrl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/byterun/gc_ctrl.c b/byterun/gc_ctrl.c index 12bfc9b0a..1dce5cb08 100644 --- a/byterun/gc_ctrl.c +++ b/byterun/gc_ctrl.c @@ -458,6 +458,7 @@ void caml_init_gc (uintnat minor_size, uintnat major_size, caml_gc_message (-1, "### O'Caml runtime: debug mode ###\n", 0); #endif + caml_page_table_initialize(Bsize_wsize(minor_size) + major_heap_size); caml_set_minor_heap_size (Bsize_wsize (norm_minsize (minor_size))); caml_major_heap_increment = Bsize_wsize (norm_heapincr (major_incr)); caml_percent_free = norm_pfree (percent_fr); |