Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: How to generate optimized bytecode?

Reply
Thread Tools

Re: How to generate optimized bytecode?

 
 
Roedy Green
Guest
Posts: n/a
 
      08-28-2003
On Thu, 28 Aug 2003 00:33:27 GMT, Ahmed Moustafa
<(E-Mail Removed)> wrote or quoted :

>Which Java compiler (and what compilation options) would generate
>optimized bytecode?


See http://mindprod.com/jgloss/nativecompiler.html

There is not much you can do with bytecode to optimise it. The real
work happens at code generation time.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
 
Reply With Quote
 
 
 
 
Ahmed Moustafa
Guest
Posts: n/a
 
      08-28-2003
>>Which Java compiler (and what compilation options) would generate
>>optimized bytecode?

>
>
> See http://mindprod.com/jgloss/nativecompiler.html
>
> There is not much you can do with bytecode to optimise it. The real
> work happens at code generation time.


What is the code generation time? Is it the run time?

 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      08-28-2003
On Thu, 28 Aug 2003 03:57:37 GMT, Ahmed Moustafa
<(E-Mail Removed)> wrote or quoted :

>What is the code generation time? Is it the run time?


It depends. Java has so many different ways of being run.

With a native compiler such as Jet it happens just after you run
Javac. see http://mindprod.com/jgloss/jet.html

With a simple JIT it happen the first time to execute a method.

with a Hotspot JIT, it happens a few times after you have executed a
method.

With an interpreter, it never happens. All you do is execute tiny
methods to emulate each byte code instruction.

See http://mindprod.com/jgloss/compiler.html

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to generate a user instance of SQL Server. Only an integratedconnection can generate a user instance. Harlan Messinger ASP .Net 2 03-28-2010 06:51 PM
How to generate warnings when How generate a warning when int is converted to bool or vice versa? PengYu.UT@gmail.com C++ 3 04-06-2006 11:24 PM
How to generate variable labels for same component within a generate loop Weng Tianxiang VHDL 5 02-16-2006 01:45 PM
area optimized port mapping tulip VHDL 1 11-03-2004 02:20 PM
Re: How to generate optimized bytecode? E.C. Bäck Java 1 08-29-2003 07:24 PM



Advertisments