blob: 902e5e36edbba56c3525ca9ca09e29a20d3ec529 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================
**
** Class: COMMemoryFailPoint
**
**
** Purpose: Native methods for System.Runtime.MemoryFailPoint.
** These are to implement memory gates to limit allocations
** when progress will likely result in an OOM.
**
**
===========================================================*/
#ifndef _COMMEMORYFAILPOINT_H
#define _COMMEMORYFAILPOINT_H
#include "fcall.h"
class COMMemoryFailPoint
{
public:
static FCDECL2(void, GetMemorySettings, UINT64* pMaxGCSegmentSize, UINT64* pTopOfMemory);
};
#endif // _COMMEMORYFAILPOINT_H
|