One cool thing: Cog is roughly 10 times (!!) faster than the SqueakVM I used :D
On the down side, I still have the problem described before. Here's some more detail:
Screenshot 1 shows the debugger, opened on the method that signalled the error. It also shows the inspector I used to get the #largeIdentityHash of the object (the value is 2062).
Screenshot 2 shows a second debugger, that I opened on the expression "objectsIndexes at: anObject". The value of the expression "key largeIdentityHash" is 182 (when it should be 2062).
Cheers,
Max
On 10/7/12 10:16 AM, "Max Leske" <maxleske@gmail.com> wrote:
Here's a possibly related question:
after having analysed a large object graph, I get exceptions in
FLEncoder>>encodeReferenceTo:. When I look at the values #largeIdentityHash
generates for that object, then the one looked up in the dictionary (that is
used by the debugger) is different than the one I get when asking the object
manually. Incidentally, the manually retrieved value would lead to a match in
the lookup. Could there be something weird going on with the hashes?
BTW, the VM is a SqueakVM 4.2.5beta1U. I'll also try with a CogVM later and
let you know if it worked.
Cheers,
Max
Thanks, is a good pointer.
In my case I try with last CogVM
http://www.mirandabanda.org/files/Cog/VM/VM.r2585/
Edgar