Skip to content

Commit 20c5a26

Browse files
committed
Adding support for enabling stress copying
1 parent c134b32 commit 20c5a26

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ ifeq ($(MMTK_MOVING), 0)
3333
CARGO_FEATURES := $(CARGO_FEATURES),non_moving
3434
endif
3535

36+
ifeq ($(MMTK_MOVING_STRESS), 1)
37+
CARGO_FEATURES := $(CARGO_FEATURES),immix_stress_copying
38+
endif
39+
3640
# Build the mmtk-julia project
3741
# Note that we might need to clone julia if it doesn't exist
3842
# since we need to run bindgen as part of building mmtk-julia

mmtk/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@ marksweep = []
5454

5555
# This feature disables moving
5656
non_moving = ["mmtk/immix_non_moving", "mmtk/immix_smaller_block"]
57+
58+
# This feature enables stress copying for Immix for debug use.
59+
immix_stress_copying = ["mmtk/immix_stress_copying"]

0 commit comments

Comments
 (0)