[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] callout from interp.c code to objc/swift code need autorelease pool (#374)
notifications at github.com
Wed Mar 13 17:25:33 UTC 2019
The issue is calling out to swift or OBJ-C code could make autoreleased object which exist both in ARC and non-arc.
At camp smalltalk I'll go thru the list and see which require wrapping. Some do not.
In general the onus has been on the called method to do the right thing with memory management, so there is no automatic wrapping to cleanup autoreleased objects. I should benchmark the setup/takedown if it's really fast then maybe we can see how to make it explicit
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev