Skip to content

Commit 1432591

Browse files
committed
Revert MVFF pool changes
This reverts commits 8ae2597 and d637d27.
1 parent 349977b commit 1432591

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

sources/lib/run-time/collector.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ typedef intptr_t DSINT;
7979

8080
#define MISCEXTENDBY ((size_t)16384)
8181
#define MISCAVGSIZE ((size_t)32)
82+
#define MISCMAXSIZE ((size_t)65536)
8283

8384
static void report_runtime_error (char* header, char* message);
8485

sources/lib/run-time/mps-collector.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "mps.h" /* MPS Interface */
2-
#include "mpscmvff.h" /* MPS pool class MVFF */
2+
#include "mpscmv.h" /* MPS pool class MV */
33
#include "mpscamc.h" /* MPS pool class AMC */
44
#include "mpsavm.h" /* MPS arena class */
55
#ifndef OPEN_DYLAN_PLATFORM_UNIX
@@ -1571,12 +1571,10 @@ MMError dylan_init_memory_manager(void)
15711571
dylan_fmt_weak_s, dylan_weak_dependent);
15721572
if (res) { init_error("create weak pool"); return(res); }
15731573

1574-
/* Create the MVFF pool for miscellaneous objects. */
1574+
/* Create the MV pool for miscellaneous objects. */
15751575
/* This is also used for wrappers. */
1576-
res = mps_pool_create(&misc_pool, arena, mps_class_mvff(),
1577-
MISCEXTENDBY, MISCAVGSIZE,
1578-
(size_t) 16,
1579-
TRUE, TRUE, TRUE);
1576+
res = mps_pool_create(&misc_pool, arena, mps_class_mv(),
1577+
MISCEXTENDBY, MISCAVGSIZE, MISCMAXSIZE);
15801578
if (res) { init_error("create misc pool"); return(res); }
15811579

15821580
wrapper_pool = misc_pool;

0 commit comments

Comments
 (0)