<div dir="ltr">not at all :)  The internet means not having to remember trivia... or does it?  I can never remember...</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 17, 2013 at 1:35 PM, Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 17 January 2013 21:14, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>

&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jan 17, 2013 at 12:49 PM, Frank Shearar &lt;<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I ran a MessageTally and was told that False doesn&#39;t understand #-.<br>
&gt;&gt; This, it turns out, was because MessageTally &gt;&gt; #computeGCStats<br>
&gt;&gt; assumes that all VM parameters are Number-like. Changing the method to<br>
&gt;&gt; this:<br>
&gt;&gt;<br>
&gt;&gt; computeGCStats<br>
&gt;&gt;         &quot;Compute the deltas in the GC stats.  Serves for reporting,<br>
&gt;&gt; hibernating and unhibernating.&quot;<br>
&gt;&gt;         SmalltalkImage current getVMParameters keysAndValuesDo:<br>
&gt;&gt;                 [ :idx :gcVal |<br>
&gt;&gt;                 gcVal isNumber ifTrue: [ &quot;This is the new line&quot;<br>
&gt;&gt;                         gcVal ifNotNil: [gcStats at: idx put: (gcVal -<br>
&gt;&gt; (gcStats at: idx))]]]<br>
&gt;&gt;<br>
&gt;&gt; lets the MessageTally run to completion. Now this might be because I&#39;m<br>
&gt;&gt; running a Cog r.2672 and a 4.3 image. I don&#39;t know.<br>
&gt;&gt;<br>
&gt;&gt; My question is this: should SmalltalkImage current getVMParameters<br>
&gt;&gt; keys be a collection of Numbers? Or should MessageTally defend against<br>
&gt;&gt; things not being numbers? Or have I just stumbled across a bad<br>
&gt;&gt; image/VM combination?<br>
&gt;<br>
&gt;<br>
&gt; Both of the last two.  This was fixed in 4.4 a few weeks ago.<br>
&gt; The VM change was to answer a boolean for parameter 65, this being whether<br>
&gt; the VM supports multiple bytecode sets or not.<br>
<br>
</div></div>My apologies; I should have remembered this :(<br>
<br>
Thanks, Eliot.<br>
<span class="HOEnZb"><font color="#888888"><br>
frank<br>
<br>
&gt; --<br>
&gt; best,<br>
&gt; Eliot<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div>