Bug 2914 - Add option to iPhone build to enable SGen NewRefcount support
Summary: Add option to iPhone build to enable SGen NewRefcount support
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: High normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-01-16 12:34 UTC by Miguel de Icaza [MSFT]
Modified: 2012-01-17 18:42 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED FIXED

Description Miguel de Icaza [MSFT] 2012-01-16 12:34:46 UTC
Not sure what the label should say, but enabling the "New REference Counting" in MonoDevelop would be equivalent to doing:

--sgen --new-refcount

This would enable the new reference counting work from Rodrigo.   This is currently a preview of the technology.
Comment 1 Jeffrey Stedfast 2012-01-17 14:14:42 UTC
Implemented in git master
Comment 2 Miguel de Icaza [MSFT] 2012-01-17 16:39:37 UTC
How do you get this going?

Is it possible to guard this UI and only show it if MonoTouch 5.2 or better is on the system?
Comment 3 Jeffrey Stedfast 2012-01-17 18:42:46 UTC
I made it so that it is only shown for MonoTouch versions >= 5.1.2

I put it in the iPhone Build Options in the Advanced tab under "Runtime Options" as a dependency on the SGen GC option.

The fix is in md-addins, so you'll need to update that and build it.