Skip to content

Commit

Permalink
Revert MVFF pool changes
Browse files Browse the repository at this point in the history
This reverts commits 8ae2597
and d637d27.
  • Loading branch information
housel committed Jun 24, 2023
1 parent 349977b commit 1432591
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions sources/lib/run-time/collector.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ typedef intptr_t DSINT;

#define MISCEXTENDBY ((size_t)16384)
#define MISCAVGSIZE ((size_t)32)
#define MISCMAXSIZE ((size_t)65536)

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

Expand Down
10 changes: 4 additions & 6 deletions sources/lib/run-time/mps-collector.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "mps.h" /* MPS Interface */
#include "mpscmvff.h" /* MPS pool class MVFF */
#include "mpscmv.h" /* MPS pool class MV */
#include "mpscamc.h" /* MPS pool class AMC */
#include "mpsavm.h" /* MPS arena class */
#ifndef OPEN_DYLAN_PLATFORM_UNIX
Expand Down Expand Up @@ -1571,12 +1571,10 @@ MMError dylan_init_memory_manager(void)
dylan_fmt_weak_s, dylan_weak_dependent);
if (res) { init_error("create weak pool"); return(res); }

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

wrapper_pool = misc_pool;
Expand Down

0 comments on commit 1432591

Please sign in to comment.