File tree 1 file changed +2
-2
lines changed
src/coreclr/nativeaot/Runtime.Base/src/System/Runtime
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ internal static class InternalCalls
62
62
[ RuntimeExport ( "RhCollect" ) ]
63
63
internal static void RhCollect ( int generation , InternalGCCollectionMode mode , bool lowMemoryP = false )
64
64
{
65
- RhpCollect ( generation , mode , lowMemoryP ) ;
65
+ RhpCollect ( generation , mode , lowMemoryP ? Interop . BOOL . TRUE : Interop . BOOL . FALSE ) ;
66
66
}
67
67
68
68
[ DllImport ( Redhawk . BaseName ) ]
69
69
[ UnmanagedCallConv ( CallConvs = new Type [ ] { typeof ( CallConvCdecl ) } ) ]
70
- private static extern void RhpCollect ( int generation , InternalGCCollectionMode mode , bool lowMemoryP ) ;
70
+ private static extern void RhpCollect ( int generation , InternalGCCollectionMode mode , Interop . BOOL lowMemoryP ) ;
71
71
72
72
[ RuntimeExport ( "RhGetGcTotalMemory" ) ]
73
73
internal static long RhGetGcTotalMemory ( )
You can’t perform that action at this time.
0 commit comments