Re: Java compiler optimizations?

Eliot Miranda <>
9 Jan 2001 23:24:14 -0500

          From comp.compilers

Related articles
Java compiler optimizations? (suganya) (2001-01-04)
Re: Java compiler optimizations? (2001-01-05)
Re: Java compiler optimizations? (Zhiyong Wang) (2001-01-09)
Re: Java compiler optimizations? (Kees van Reeuwijk) (2001-01-09)
Re: Java compiler optimizations? (Eliot Miranda) (2001-01-09)
Re: Java compiler optimizations? (2001-01-11)
Re: Java compiler optimizations? (Eliot Miranda) (2001-01-18)
Re: Java compiler optimizations (David Chase) (2001-01-19)
Re: Java compiler optimizations (Allyn Dimock) (2001-01-26)
| List of all articles for this month |

From: Eliot Miranda <>
Newsgroups: comp.compilers
Date: 9 Jan 2001 23:24:14 -0500
Organization: SBC Internet Services
References: 01-01-012 01-01-018
Keywords: Java, optimize
Posted-Date: 09 Jan 2001 23:24:14 EST

"Ian L. Kaplan" wrote:
> In article suganya <> wrote:
> >What are the differences between the java compiler optimizations & other
> >compiler optimizations? And also give related sites and materials
> >available if so.
> For a given class of compiler, I suspect that there is no difference
> between Java optimization and C++ optimization, for example.

IMO, this is very far from the truth. But it is not the source to
bytecode compiler that typically does "exotic" optimizations.
Instead, there are Just-In-Time Java, Self and Smalltalk bytecode to
native code "compilers" that perform optimizations not seen in static
C++ compilers. These are virtual machines that include optimizing
compilers used at run-time. The basic strategy is for the JIT to
quickly generate unoptimized code that includes profiling facilities.
Based on profiles the JIT then aggressively optimizes code that is
found to be long running via profiling. Visit the Self compiler pages
at Sun ( See proceedings of
SIGPLAN PLDI over the past 5 years, especially on Java virtual
machines. See the Proceedings of the ACM SIGPLAN Workshop on Dynamic
and Adaptive Compilation and Optimization (Dynamo '00). January 18,
2000, Boston, Massachusetts, a.k.a. SIGPLAN vol. 35, no 7.
Eliot Miranda Smalltalk - Scene not herd

Post a followup to this message

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