<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 28, 2017 at 5:55 PM, Ben Coman <span dir="ltr"><<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><div dir="ltr"><div>hi Clement,</div><div><br></div><div>I was watching your nice talk on Pharo Optimizing JIT Internals. At 14:40 [1]<br></div><div>you mention VM call-back to Scorch DNU-style.  I was just curious how that might affect the jitter of the DelayScheduler waiting for the timingSemaphore set by "primSignal: timingSemaphore atMilliseconds: millisecondNextTick" </div><div>to be signalled by the VM?</div></div></blockquote><div><br></div><div>I am not sure I understand the question. Only 1 optimisation call-back is running at once (It disables itself when started, re-enables itself at the end). If another green thread takes over the runtime, the optimisation of the function will time out. The other green thread can then be optimized. Does this answer the question ?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>[1] <a href="https://youtu.be/yDKaHphbFow?list=PLJ5nSnWzQXi_THfKwhzxFwbXy00YTi0uv&t=883" target="_blank">https://youtu.be/yDKaHphbFow?<wbr>list=PLJ5nSnWzQXi_<wbr>THfKwhzxFwbXy00YTi0uv&t=883</a></div><div><br></div><div>cheers -ben</div><div><br></div><div><br></div><div>P.S. Later when you say Sista will be an optional VM - curious whether Sista might be switched on/off from within the VM? or just a command line flag? or an actual different VM (which adds complexity to system management).<br></div><div><br></div></div></blockquote><div>Different VMs. In the Sista VM you can turn things on/off. In the default VM you only have unoptimized behavior. Once the image has Sista methods it requires the Sista VM unless you switch it off and revert all optimised code.</div></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-size:12.8px">Clément Béra</span><div style="font-size:12.8px">Pharo consortium engineer</div><div style="font-size:12.8px"><a href="https://clementbera.wordpress.com/" target="_blank">https://clementbera.wordpress.com/</a><br></div><div style="font-size:12.8px"><span style="line-height:16px">Bâtiment B 40, avenue Halley 59650 </span><span style="font-weight:bold;line-height:16px">Villeneuve d'Ascq</span></div></div></div>
</div></div>