summaryrefslogtreecommitdiff
path: root/src/vm/comutilnative.h
diff options
context:
space:
mode:
authorMukul Sabharwal <muks@microsoft.com>2019-02-22 15:56:28 -0800
committerJan Kotas <jkotas@microsoft.com>2019-02-22 15:56:28 -0800
commit4932d0f6fa87b9a6e3293aacd35cecedde44d87a (patch)
tree0330e86de295b7d14c8db32478a8aff76147e685 /src/vm/comutilnative.h
parent6a392d9084a1afe8b9861138e5d0e5b688deca44 (diff)
downloadcoreclr-4932d0f6fa87b9a6e3293aacd35cecedde44d87a.tar.gz
coreclr-4932d0f6fa87b9a6e3293aacd35cecedde44d87a.tar.bz2
coreclr-4932d0f6fa87b9a6e3293aacd35cecedde44d87a.zip
Enable FEATURE_BASICFREEZE (#22776)
Diffstat (limited to 'src/vm/comutilnative.h')
-rw-r--r--src/vm/comutilnative.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vm/comutilnative.h b/src/vm/comutilnative.h
index e632acfb97..67c111bbb4 100644
--- a/src/vm/comutilnative.h
+++ b/src/vm/comutilnative.h
@@ -140,6 +140,14 @@ public:
static FCDECL0(INT64, GetAllocatedBytesForCurrentThread);
+#ifdef FEATURE_BASICFREEZE
+ static
+ void* QCALLTYPE RegisterFrozenSegment(void *pSection, INT32 sizeSection);
+
+ static
+ void QCALLTYPE UnregisterFrozenSegment(void *segmentHandle);
+#endif // FEATURE_BASICFREEZE
+
static
int QCALLTYPE StartNoGCRegion(INT64 totalSize, BOOL lohSizeKnown, INT64 lohSize, BOOL disallowFullBlockingGC);