File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/coreclr/nativeaot/Runtime.Base/src/System/Runtime Expand file tree Collapse file tree 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
6262 [ RuntimeExport ( "RhCollect" ) ]
6363 internal static void RhCollect ( int generation , InternalGCCollectionMode mode , bool lowMemoryP = false )
6464 {
65- RhpCollect ( generation , mode , lowMemoryP ) ;
65+ RhpCollect ( generation , mode , lowMemoryP ? Interop . BOOL . TRUE : Interop . BOOL . FALSE ) ;
6666 }
6767
6868 [ DllImport ( Redhawk . BaseName ) ]
6969 [ 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 ) ;
7171
7272 [ RuntimeExport ( "RhGetGcTotalMemory" ) ]
7373 internal static long RhGetGcTotalMemory ( )
You can’t perform that action at this time.
0 commit comments