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 7, 2016
1 parent 97929ab commit db4a84e
Show file tree
Hide file tree
Showing 5 changed files with 894 additions and 61 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 db4a84e

Please sign in to comment.