<div dir="ltr">Hi Florin,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 8, 2016 at 12:46 PM, Florin Mateoc <span dir="ltr">&lt;<a href="mailto:florin.mateoc@gmail.com" target="_blank">florin.mateoc@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Hi,<br>
<br>
Does anybody know the current status of the various simulators?<br></blockquote><div><br></div><div>I can vouch for the simulators in VMMaker.oscog.   StackInterpreterSimulator and CogVMSimulator work.  InterpreterSimulator is extremely unlikely to any more.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Even the classes are a bit confusing, since their class comments are just copied and pasted from their<br>
siblings/ancestors, so I cannot figure out what is current and what is used for what.<br></blockquote><div><br></div><div>They&#39;re not in VMMaker.oscog (which is on <a href="http://source.squeak.org/VMMaker">http://source.squeak.org/VMMaker</a>).  CogVMSimulator&#39;s comment is quite different from StackInterpreterSimulator.  In fact, they could do with being made a little more similar ;-)</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Could some kind soul please summarize which images are supposed to be run by which simulator? E.g. is<br>
InterpreterSimulator (and subclasses) still being used/working?<br></blockquote><div><br></div><div>Not in VMMaker.oscog.  The Interpreter there-in hasn&#39;t been touched for many years.  We have a task when time allows to merge Interpreter[Simulator] from VMMaker with Interpreter[Simulator] from VMMaker.oscog, so that for example we can have a Spur context interpreter.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">More concretely, I tried to run StackInterpreterSimulator on a 4.5 image, since it does not support the current image<br>
format, but I keep hitting various errors. A particularly confusing kind is that NewObjectMemory refers sometimes to its<br>
interpreter instvar, sometimes to its coInterpreter instvar (sometimes to both in the same method), even though only the<br>
coInterpreter instvar is initialized. Does it need both instvars, and if so, what are their roles and how should they be<br>
initialized?<br></blockquote><div><br></div><div>In VMMaker.oscog that&#39;s not the case.</div><div><br></div><div><br></div><div>StackInterpreterSimulator allInstVarNames select: [:v| &#39;*terpreter*&#39; match: v] #(&#39;interpreterProxy&#39;)</div><div><br></div><div>If what you want is to work with the current Squeak, Pharo or Newspeak VMs then you need to be using VMMaker.oscog.  The latest version is </div><div><br></div><div><div>Name: VMMaker.oscog-nice.1713</div><div>Author: nice</div><div>Time: 5 March 2016, 3:15:22.817 am</div><div>UUID: ac270981-d3ba-4c42-a2b1-3a83693776be</div><div>Ancestors: VMMaker.oscog-nice.1712</div><div><br></div><div>The size of [unsigned] long long was not infered...</div><div><br></div><div>VM fool proofing:</div><div><br></div><div>Fix a missing guard in SmartSyntaxPlugin like explained at</div><div><a href="http://forum.world.st/VM-safety-missing-failing-guards-in-SmartSyntaxPlugin-td4816518.html">http://forum.world.st/VM-safety-missing-failing-guards-in-SmartSyntaxPlugin-td4816518.html</a></div><div><br></div><div>Fix two missing guards in VM profiling primitives: one should not use the result of stackObjectValue: before checking for success, otherwise a null pointer exception will occur in case of failure.</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Thank you,<br>
Florin<br>
</blockquote></div><div class="gmail_extra"><br></div>HTH<br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>