New VM in progress

Hans-Martin Mosner hmm at heeg.de
Mon Dec 10 17:15:57 UTC 2001


First of all, this sounds fantastic. I currently don't have time to look into it,
so if you get it out in 1Q2002 it's fine with me :-)
Having both Tim's compiled methods and a stack-based context mechanism would be
pretty nice.

Anthony Hannan wrote:
...
> New CompiledMethod format:
> I did consult Tim's web page about new CompiledMethod format early on
> and as a result included it in my new CompiledMethods.  CompiledMethod
> is now a regular pointer object with 3 inst vars (header, bytecodes,
> trailer) and indexable fields for literals.  bytecodes points to a
> ByteArray.  And trailer points to a ByteArray encoding the source
> pointer as before, but this can easily be renamed and changed to
> something more readable.
Instead of the ByteArray you should store an integer there, but that's just
a small space improvement, nothing serious.

Cheers,
Hans-Martin




More information about the Squeak-dev mailing list