We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc58c2b commit efa4871Copy full SHA for efa4871
mono/metadata/boehm-gc.c
@@ -422,19 +422,29 @@ mono_gc_get_heap_size (void)
422
int64_t
423
mono_gc_get_max_time_slice_ns()
424
{
425
+#if HAVE_BDWGC_GC
426
return GC_get_time_limit() * 1000000;
427
+#else
428
+ return 0;
429
+#endif
430
}
431
432
void
433
mono_gc_set_max_time_slice_ns(int64_t maxTimeSlice)
434
435
436
GC_set_time_limit(maxTimeSlice / 1000000);
437
438
439
440
MonoBoolean
441
mono_gc_is_incremental()
442
443
444
return GC_is_incremental_mode();
445
446
+ return FALSE;
447
448
449
450
gboolean
0 commit comments