[Vm-dev] VM Maker: VMMaker.oscog-eem.884.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Sep 25 17:22:54 UTC 2014
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.884.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.884
Author: eem
Time: 25 September 2014, 10:20:20.047 am
UUID: 964a6c98-a49a-441b-8030-3e4d869efe22
Ancestors: VMMaker.oscog-eem.883
Straggler now uses the revised classTableEntriesDo:
=============== Diff against VMMaker.oscog-eem.883 ===============
Item was changed:
----- Method: SpurMemoryManager>>printInvalidClassTableEntries (in category 'class table') -----
printInvalidClassTableEntries
"Print the objects in the classTable that have bad hashes."
<api>
self validClassTableRootPages ifFalse:
[coInterpreter print: 'class table invalid; cannot print'; cr.
^self].
self classTableEntriesDo:
+ [:classOrNil :index| | hash |
- [:classOrNil :i :j| | hash |
((self isForwarded: classOrNil)
or: [(hash := self rawHashBitsOf: classOrNil) = 0
or: [(self noCheckClassAtIndex: hash) ~= classOrNil]]) ifTrue:
[coInterpreter
+ print: 'entry '; printHex: index;
- print: 'entry '; printHex: i * self classTablePageSize + j;
print: ' oop '; printHex: classOrNil;
print: ' hash '; printHex: hash; print: ' => '; printHex: (self classAtIndex: hash);
cr]]!
More information about the Vm-dev
mailing list