Re: Stack based-Register Based

Niall Dalton <ndalton@ics.uci.edu>
1 Mar 2001 02:38:00 -0500

          From comp.compilers

Related articles
[10 earlier articles]
Re: Stack based-Register Based anton@mips.complang.tuwien.ac.at (2001-02-04)
Re: Stack based-Register Based anton@mips.complang.tuwien.ac.at (2001-02-04)
Re: Stack based-Register Based joachim_d@gmx.de (Joachim Durchholz) (2001-02-15)
Re: Stack based-Register Based joachim_d@gmx.de (Joachim Durchholz) (2001-02-25)
Re: Stack based-Register Based joachim_d@gmx.de (Joachim Durchholz) (2001-02-25)
Re: Stack based-Register Based henry@spsystems.net (2001-02-25)
Re: Stack based-Register Based ndalton@ics.uci.edu (Niall Dalton) (2001-03-01)
| List of all articles for this month |

From: Niall Dalton <ndalton@ics.uci.edu>
Newsgroups: comp.lang.java.machine,comp.compilers
Date: 1 Mar 2001 02:38:00 -0500
Organization: University of California, Irvine
References: 01-01-124 01-01-136 01-02-010 01-02-025 01-02-141
Keywords: architecture
Posted-Date: 01 Mar 2001 02:38:00 EST

Joachim Durchholz wrote:
> 1) Tree walkers. The code is a tree that's walked by the VM. VM data
> would be essentially stack-based (but one could use registers for
> caching the topmost stack entries).
> Notes:
> Model (1) is that of "slim binaries" (IIRC).


Slim Binaries are not in fact interpreted by the VM, they are used for
load time compilation only. The idea is that they encorporate all the
high level information about the program but transported in a
pre-parsed, highly compressed tree form. They were also used in a
follow on project performing continuous program optimization as the
compiled code executed. So, based on profiling information, a new copy
of the code was generated and then hot-swapped in. Furthermore, new
data layouts could be used that gave better data cache
performance. Again these were hot swapped in with the new
code. Already allocated data in the old layout is rearranged into the
new layout.


Regards,
Niall
--
------------------------------------------------------------
Niall Dalton http://qetesh.ics.uci.edu
Information and Computer Science ndalton@ics.uci.edu
University of California, Irvine


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.