MUD-Dev
mailing list archive

[ Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

[MUD-Dev] Re: Bruce Sterling on Virtual Community goals



[Jon A. Lambert:]

 >IIRC, Java makes use of 4 psuedo-registers in addition to a stack.

Nitpick time. I've read the JVM book, and just went and looked. All
I could find was an SP and a PC per thread. Nothing else. Given
implementations might find it useful to have a frame pointer or
perhaps a pointer to the constant pool.

In my byte-code I added a frame pointer. That was really only to make
the disassemblies easier to read, if I remember correctly. You can
always address locals and parameters relative to the SP, by having
the code generator keep track of changing stack height.

-- 
Chris Gray     cg#ami-cg,GraySage.Edmonton.AB.CA




[ Other Periods  | Other mailing lists  | Search  ]