summaryrefslogtreecommitdiff
path: root/src/vm/ecalllist.h
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2019-02-08 11:57:48 -0500
committerJan Kotas <jkotas@microsoft.com>2019-02-08 08:57:48 -0800
commit13ae47e082c7ca0da9d4d8d99c29a83da052e1c7 (patch)
treeccefe67d72b94883a10adc8b99160e564af4223a /src/vm/ecalllist.h
parent5f36ff27b199da0dafe81cbfe07b16fb370b7442 (diff)
downloadcoreclr-13ae47e082c7ca0da9d4d8d99c29a83da052e1c7.tar.gz
coreclr-13ae47e082c7ca0da9d4d8d99c29a83da052e1c7.tar.bz2
coreclr-13ae47e082c7ca0da9d4d8d99c29a83da052e1c7.zip
Move GCSettings to shared (#22483)
Mainly just type definitions and error handling that gets shared.
Diffstat (limited to 'src/vm/ecalllist.h')
-rw-r--r--src/vm/ecalllist.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/vm/ecalllist.h b/src/vm/ecalllist.h
index c604db35d8..6b96316931 100644
--- a/src/vm/ecalllist.h
+++ b/src/vm/ecalllist.h
@@ -776,13 +776,8 @@ FCFuncStart(gGCInterfaceFuncs)
FCFuncElement("_WaitForFullGCComplete", GCInterface::WaitForFullGCComplete)
FCFuncElement("_CollectionCount", GCInterface::CollectionCount)
FCFuncElement("GetMemoryInfo", GCInterface::GetMemoryInfo)
- FCFuncElement("GetGCLatencyMode", GCInterface::GetGcLatencyMode)
- FCFuncElement("SetGCLatencyMode", GCInterface::SetGcLatencyMode)
- FCFuncElement("GetLOHCompactionMode", GCInterface::GetLOHCompactionMode)
- FCFuncElement("SetLOHCompactionMode", GCInterface::SetLOHCompactionMode)
QCFuncElement("_StartNoGCRegion", GCInterface::StartNoGCRegion)
QCFuncElement("_EndNoGCRegion", GCInterface::EndNoGCRegion)
- FCFuncElement("IsServerGC", SystemNative::IsServerGC)
FCFuncElement("GetSegmentSize", GCInterface::GetSegmentSize)
QCFuncElement("_AddMemoryPressure", GCInterface::_AddMemoryPressure)
QCFuncElement("_RemoveMemoryPressure", GCInterface::_RemoveMemoryPressure)
@@ -798,6 +793,14 @@ FCFuncStart(gGCInterfaceFuncs)
FCFuncElement("_GetAllocatedBytesForCurrentThread", GCInterface::GetAllocatedBytesForCurrentThread)
FCFuncEnd()
+FCFuncStart(gGCSettingsFuncs)
+ FCFuncElement("get_IsServerGC", SystemNative::IsServerGC)
+ FCFuncElement("GetGCLatencyMode", GCInterface::GetGcLatencyMode)
+ FCFuncElement("GetLOHCompactionMode", GCInterface::GetLOHCompactionMode)
+ FCFuncElement("SetGCLatencyMode", GCInterface::SetGcLatencyMode)
+ FCFuncElement("SetLOHCompactionMode", GCInterface::SetLOHCompactionMode)
+FCFuncEnd()
+
FCFuncStart(gInteropMarshalFuncs)
FCFuncElement("GetLastWin32Error", MarshalNative::GetLastWin32Error)
FCFuncElement("SetLastWin32Error", MarshalNative::SetLastWin32Error)
@@ -1224,6 +1227,7 @@ FCClassElement("FileLoadException", "System.IO", gFileLoadExceptionFuncs)
FCClassElement("FormatterServices", "System.Runtime.Serialization", gSerializationFuncs)
FCClassElement("GC", "System", gGCInterfaceFuncs)
FCClassElement("GCHandle", "System.Runtime.InteropServices", gGCHandleFuncs)
+FCClassElement("GCSettings", "System.Runtime", gGCSettingsFuncs)
#ifdef FEATURE_COMINTEROP
FCClassElement("IEnumerable", "System.Collections", gStdMngIEnumerableFuncs)
FCClassElement("IEnumerator", "System.Collections", gStdMngIEnumeratorFuncs)