[Vm-dev] Re: Issue 118 in cog: latest builds from vm breaks access
to literals in compiled methods for Pharo 1.4
cog at googlecode.com
cog at googlecode.com
Tue Jan 15 22:01:35 UTC 2013
Comment #2 on issue 118 by eliot.miranda at gmail.com: latest builds from vm
breaks access to literals in compiled methods for Pharo 1.4
http://code.google.com/p/cog/issues/detail?id=118
That's correct. For a long time the implementation of
CompiledMethod>>#hash has been incorrect. Inherited from ByteArray, the
old hash uses the binary values of literals to compute the hash, and since
the GC can move literals this is wrong. Squeak has a new implementation.
Find attached. See
http://lists.gforge.inria.fr/pipermail/pharo-project/2012-May/065311.html.
Attachments:
CompiledMethod-hash.st 992 bytes
More information about the Vm-dev
mailing list