From: Steve H. <st...@we...> - 2013-02-22 03:49:19
|
I'm experimenting using XMLVM to compile business logic, which I then use inside a Cocoa GUI app - built with Xcode. I am trying to get an understanding of the implications of XMLVM's garbage collected pointers used together with objective-c objects. This page <http://www.hpl.hp.com/personal/Hans_Boehm/gc/simple_example.html> says: "It is usually best not to mix garbage-collected allocation with the system malloc-free. If you do, you need to be careful not to store pointers to the garbage-collected heap in memory allocated with the system malloc." Does this mean that I shouldn't be storing JAVA_OBJECTs as properties of objective-c classes? Are there any best practices that should be followed here? Thanks for any tips. -Steve |