Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Enabling it in debug builds doesn't work. I always get the serial GC.
It works fine in Release builds.
I believe that this was fixed by: https://github.com/xamarin/monodroid/pull/581
Hi Rodrigo ,
It would be great if you can provide me steps or screencast link to validate this bug. I am also unable to access the link : https://github.com/xamarin/monodroid/pull/581 as well.
Can you help Neeraj here?
Long story short, enabling "use the concurrent garbage collector" property in android project options -> Android build should translate to the app having MONO_GC_PARAMS=major=marksweep-conc set at runtime. You can check this at runtime by adding to a sample android project : System.Environment.GetEnvironmentVariable("MONO_GC_PARAMS").Contains("major=marksweep-conc"); (it is true if it's passed and false or NullReferenceException if not passed).
As it was mentioned above this was reproducible only with debug builds. I think the latest Xamarin.Android build (from alpha) should have the fix and any build older than one week should be buggy.
Created attachment 20509 [details]
Verified in XS Version 6.3 (build 848)
Xamarin.iOS Version 10.8.0.26
Xamarin.Android Version 18.104.22.168
Xamarin.mac Version 22.214.171.124