Skip to content

Commit 130fb2a

Browse files
author
Luis Eduardo de Souza Amorim
committed
Adding options to have every GC as defrag (MMTK_ALWAYS_MOVING) and copy every object when possible (MMTK_MAX_MOVING)
1 parent f4ead3d commit 130fb2a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

deps/mmtk_julia.mk

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
## MMTK ##
22

33
# Both MMTK_MOVING and MMTK_PLAN should be specified in the Make.user file.
4-
# FIXME: By default we do a non-moving build. We should change the default to 1
5-
# once we support moving plans.
4+
# Whether to move objects at all (standard immix)
65
MMTK_MOVING ?= 0
7-
MMTK_MOVING_STRESS ?= 0
8-
MMTK_VARS := MMTK_PLAN=$(MMTK_PLAN) MMTK_MOVING=$(MMTK_MOVING) MMTK_MOVING_STRESS=$(MMTK_MOVING_STRESS)
6+
# Every GC becomes a defrag GC
7+
MMTK_ALWAYS_MOVING ?= 0
8+
# Copies every object when possible
9+
MMTK_MAX_MOVING ?= 0
10+
MMTK_VARS := MMTK_PLAN=$(MMTK_PLAN) MMTK_MOVING=$(MMTK_MOVING) MMTK_ALWAYS_MOVING=$(MMTK_ALWAYS_MOVING) MMTK_MAX_MOVING=$(MMTK_MAX_MOVING)
911

1012
ifneq ($(USE_BINARYBUILDER_MMTK_JULIA),1)
1113
$(eval $(call git-external,mmtk_julia,MMTK_JULIA,,,$(BUILDDIR)))

0 commit comments

Comments
 (0)