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
  • Loading branch information
yuyichao committed Jun 6, 2016
1 parent 0716414 commit 6968e67
Show file tree
Hide file tree
Showing 4 changed files with 836 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 6968e67

Please sign in to comment.