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 10, 2016
1 parent a6a0313 commit 07ea952
Show file tree
Hide file tree
Showing 6 changed files with 916 additions and 66 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 07ea952

Please sign in to comment.