Optimization for OOP



Hello,

I'm in the beginning of writing an optimizer for an object oriented
programming language. At the moment I'm working on developing a list
of possible optimizations that can be performed on the code. The
language runs on a virtual machine.

While I have a fairly good list of optimizations possible I seem to be
drawing a blank on what to do to optimize objects and classes in the
language. I was wondering if anyone could point me in the right
direction for OOP optimization resources (for example... detailed info
on what Java does to optimize classes and objects at compile time).

In addition I am looking for some good books or articles pertaining to
common subexpression elimination. I've read a few things on it and
understand the general concept and implementation, but would like
additional information if possible.

Thanks :)
.



Relevant Pages

  • Re: WaitForSingleObject() will not deadlock
    ... represent an incorrect implementation of the language. ... the *compiler* does not guarantee this. ... but to state it in terms of the execution instead of the formal semantics of the language ... as long as the optimizations do not change the semantics of the language). ...
    (microsoft.public.vc.mfc)
  • Re: Why not Half Life 3 on Java ?
    ... religious fanatic about a language? ... We were talking about Java optimizations so I gave an example ... of something the JVMs are doing. ...
    (comp.games.development.programming.misc)
  • Re: RAD vs. performance
    ... wrote in the dynamically typed language is wrong. ... to start executing compiler optimisations by hand. ... same optimizations. ...
    (comp.lang.misc)
  • Re: Can you write code directly in CIL ???
    ... language. ... From what I understand any optimizations take place before the CIL is ... >>that hand tweaked CIL would be the .NET equivalent of hand tweaked assembly ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: RAD vs. performance
    ... typed language vs. your dynamically typed language, ... to start executing compiler optimisations by hand. ... same optimizations. ...
    (comp.lang.misc)