diff options
author | Sergiy Kuryata <sergeyk@microsoft.com> | 2017-09-22 10:13:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-22 10:13:14 +0300 |
commit | fe8a3e7ed4100e5fbaefd59b088517f6bfb86c31 (patch) | |
tree | 2bb0a60fb21d4fe9f796201b93018e524ebeae1b /src/Native | |
parent | 52e39dc5d746fe5ee28a571e5fd25d23d732648b (diff) |
Enable Server GC (#4591)
This change adds support for Server GC.
To enable the Server GC for an application, the RH_UseServerGC environment variable (which is already supported by the runtime) should be set to 1.
Diffstat (limited to 'src/Native')
-rw-r--r-- | src/Native/Runtime/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Native/Runtime/CMakeLists.txt b/src/Native/Runtime/CMakeLists.txt index de6d110e3..0757aa424 100644 --- a/src/Native/Runtime/CMakeLists.txt +++ b/src/Native/Runtime/CMakeLists.txt @@ -46,6 +46,8 @@ set(COMMON_RUNTIME_SOURCES ../gc/gccommon.cpp ../gc/gceewks.cpp ../gc/gcwks.cpp + ../gc/gceesvr.cpp + ../gc/gcsvr.cpp ../gc/gcscan.cpp ../gc/handletable.cpp ../gc/handletablecache.cpp @@ -154,6 +156,7 @@ convert_to_absolute_path(ARCH_SOURCES_DIR ${ARCH_SOURCES_DIR}) include_directories(${ARCH_SOURCES_DIR}) add_definitions(-DFEATURE_BACKGROUND_GC) +add_definitions(-DFEATURE_SVR_GC) add_definitions(-DFEATURE_BASICFREEZE) add_definitions(-DFEATURE_CONSERVATIVE_GC) add_definitions(-DFEATURE_CUSTOM_IMPORTS) |