NativeBoost: Regenerate Native Code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

NativeBoost: Regenerate Native Code

Sean P. DeNigris
Administrator
How do I tell NativeBoost to regenerate all naive code for a class e.g. after changing the implementation of #nbCallingConvention?

N.B. to NativeBoost newbies like myself, this is a *huge* potential pitfall that's difficult to diagnose. I was thinking, "well, I changed the calling convention and the vm is still crashing, so that can't be the problem" not realizing that the callouts never picked up the change
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: NativeBoost: Regenerate Native Code

Igor Stasenko



On 27 November 2013 17:03, Sean P. DeNigris <[hidden email]> wrote:
How do I tell NativeBoost to regenerate all naive code for a class e.g. after
changing the implementation of #nbCallingConvention?

N.B. to NativeBoost newbies like myself, this is a *huge* potential pitfall
that's difficult to diagnose. I was thinking, "well, I changed the calling
convention and the vm is still crashing, so that can't be the problem" not
realizing that the callouts never picked up the change

NativeBoost clearNativeCode
 


-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/NativeBoost-Regenerate-Native-Code-tp4725651.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




--
Best regards,
Igor Stasenko.
Reply | Threaded
Open this post in threaded view
|

Re: NativeBoost: Regenerate Native Code

Igor Stasenko
.. or just restart an image


On 28 November 2013 12:01, Igor Stasenko <[hidden email]> wrote:



On 27 November 2013 17:03, Sean P. DeNigris <[hidden email]> wrote:
How do I tell NativeBoost to regenerate all naive code for a class e.g. after
changing the implementation of #nbCallingConvention?

N.B. to NativeBoost newbies like myself, this is a *huge* potential pitfall
that's difficult to diagnose. I was thinking, "well, I changed the calling
convention and the vm is still crashing, so that can't be the problem" not
realizing that the callouts never picked up the change

NativeBoost clearNativeCode
 


-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/NativeBoost-Regenerate-Native-Code-tp4725651.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




--
Best regards,
Igor Stasenko.



--
Best regards,
Igor Stasenko.