summaryrefslogtreecommitdiff
path: root/clrdefinitions.cmake
diff options
context:
space:
mode:
authornoahfalk <noahfalk@microsoft.com>2017-03-24 22:43:47 -0700
committernoahfalk <noahfalk@microsoft.com>2017-03-29 19:09:24 -0700
commit850164ee70077e0970d7ab4e4bf2ca51809b92e8 (patch)
treef9262fab3e2540b7b920bb54dd0d7cc8288b3e05 /clrdefinitions.cmake
parente3eecaa56ec08d47941bc7191656a7559ac8b3c0 (diff)
downloadcoreclr-850164ee70077e0970d7ab4e4bf2ca51809b92e8.tar.gz
coreclr-850164ee70077e0970d7ab4e4bf2ca51809b92e8.tar.bz2
coreclr-850164ee70077e0970d7ab4e4bf2ca51809b92e8.zip
Tiered Compilation step 1
Tiered compilation is a new feature we are experimenting with that aims to improve startup times. Initially we jit methods non-optimized, then switch to an optimized version once the method has been called a number of times. More details about the current feature operation are in the comments of TieredCompilation.cpp. This is only the first step in a longer process building the feature. The primary goal for now is to avoid regressing any runtime behavior in the shipping configuration in which the complus variable is OFF, while putting enough code in place that we can measure performance in the daily builds and make incremental progress visible to collaborators and reviewers. The design of the TieredCompilationManager is likely to change substantively, and the call counter may also change.
Diffstat (limited to 'clrdefinitions.cmake')
-rw-r--r--clrdefinitions.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/clrdefinitions.cmake b/clrdefinitions.cmake
index 49db1fd3ed..9ca67decaf 100644
--- a/clrdefinitions.cmake
+++ b/clrdefinitions.cmake
@@ -125,6 +125,7 @@ endif(FEATURE_EVENT_TRACE)
if(CLR_CMAKE_PLATFORM_UNIX)
add_definitions(-DFEATURE_EVENTSOURCE_XPLAT=1)
endif(CLR_CMAKE_PLATFORM_UNIX)
+add_definitions(-DFEATURE_TIERED_COMPILATION)
# NetBSD doesn't implement this feature
if(NOT CMAKE_SYSTEM_NAME STREQUAL NetBSD)
add_definitions(-DFEATURE_HIJACK)