Skip to content

Commit 06a0c19

Browse files
authored
Merge branch 'mmtk-support-moving-upstream' into updating-mmtk-moving
2 parents 0c6d0d4 + 0043065 commit 06a0c19

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ CG_LLVMLINK :=
6969

7070
ifeq ($(JULIACODEGEN),LLVM)
7171
# Currently these files are used by both GCs. But we should make the list specific to stock, and MMTk should have its own implementation.
72-
GC_CODEGEN_SRCS := llvm-final-gc-lowering llvm-late-gc-lowering llvm-gc-invariant-verifier
72+
GC_CODEGEN_SRCS := llvm-final-gc-lowering llvm-late-gc-lowering llvm-gc-invariant-verifier gc-pinning-log
7373
ifeq (${USE_THIRD_PARTY_GC},mmtk)
7474
FLAGS += -I$(MMTK_API_INC)
7575
GC_CODEGEN_SRCS += llvm-late-gc-lowering-mmtk

src/jloptions.c

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <limits.h>
44
#include <errno.h>
55

6+
#include "options.h"
67
#include "julia.h"
78
#include "julia_internal.h"
89

@@ -292,9 +293,17 @@ static const char opts[] =
292293
" information, see --bug-report=help.\n\n"
293294
" --heap-size-hint=<size>[<unit>] Forces garbage collection if memory usage is higher\n"
294295
" than the given value. The value may be specified as a\n"
295-
" number of bytes, optionally in units of: B,\n"
296-
" K (kibibytes), M (mebibytes), G (gibibytes),\n"
297-
" T (tebibytes), or % (percentage of physical memory).\n\n"
296+
" number of bytes, optionally in units of: B, K (kibibytes),\n"
297+
" M (mebibytes), G (gibibytes), T (tebibytes), or % (percentage\n"
298+
" of physical memory).\n\n"
299+
" --hard-heap-limit=<size>[<unit>] Set a hard limit on the heap size: if we ever go above this\n"
300+
" limit, we will abort. The value may be specified as a\n"
301+
" number of bytes, optionally in units of: B, K (kibibytes),\n"
302+
" M (mebibytes), G (gibibytes) or T (tebibytes).\n\n"
303+
" --heap-target-increment=<size>[<unit>] Set an upper bound on how much the heap target\n"
304+
" can increase between consecutive collections. The value may be\n"
305+
" specified as a number of bytes, optionally in units of: B,\n"
306+
" K (kibibytes), M (mebibytes), G (gibibytes) or T (tebibytes).\n\n"
298307
;
299308

300309
static const char opts_hidden[] =

0 commit comments

Comments
 (0)