Skip to content

Commit

Permalink
Implement custom memory manager for LLVM
Browse files Browse the repository at this point in the history
Use various ways to reuse the page that has the page protection set in order
to avoid wasting a page of memory for each JIT event.

Fixes #14626

[av skip]
  • Loading branch information
yuyichao committed Jun 6, 2016
1 parent e4e9b6f commit 9e1d4c5
Show file tree
Hide file tree
Showing 4 changed files with 880 additions and 37 deletions.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SRCS := \
LLVMLINK :=

ifeq ($(JULIACODEGEN),LLVM)
SRCS += codegen disasm debuginfo llvm-simdloop llvm-gcroot
SRCS += codegen disasm debuginfo llvm-simdloop llvm-gcroot cgmemmgr
FLAGS += -I$(shell $(LLVM_CONFIG_HOST) --includedir)
LLVM_LIBS := all
ifeq ($(USE_POLLY),1)
Expand Down
Loading

0 comments on commit 9e1d4c5

Please sign in to comment.