How much can a native compiler improve performance of a java application?

Hello,
we have a customer with low-end machines who complains very much about the
starting time of an application of us. I dont't know the exact configuration
of the clients but i think the bad perfrmance is because the client has too
few memory and has to swap when the jvm starts.
Could a native compiler like Excelsior JET be a solution or would the
imporvement be only marginal?
Anyone who has experience in this topic?
Thank you in advance!

Could a native compiler like Excelsior JET be a solution or would the
imporvement be only marginal?Excelsior JET only packages up the class files and a JRE into a big blob so that it looks like a single executable. It doesn't actually generate native code for your classes.
There are some limited pure-native compilers (e.g. GCJ - the GNU compiler for Java). Because you also need native-compiled libraries, and those are quite incomplete, only certain basic programs can be compiled down to native form without some major tweaking today.
As to whether it'll improve your performance or not: if your program is computationally intensive (does lots of floating-point math, or other CPU-intensive algorithms), it may improve. If it's I/O, network or database bound, you'll see very little improvement, if any. If it's graphics-bound, you may see some improvement, though the native Swing support with GCJ is limited at this time.
Even with long computationally-intensive programs, you may or may not see an improvement. If you use the server VM (java -server ...), then it does similar things behind your back (optimizing compiles), so that eventually your program speeds up a fair amount (though not to pure-native speeds).

Similar Messages

  • Will native compiling improve performance?

    Hi,
    I've got familiar with Excelsior Native Compiler since a week ago. They claim on their website that compiling Java classes to native code (machine code) will improve the performance of the application. However, JAlbum (http://jalbum.net) says that its JAR files of the application run "basically at the same speed" compared to the native compiled one for windows.
    Will really compiling Java classes to native code improve performance? I'm not talking about the startup speed, I mean the whole application performance.
    Thanks...

    depends on what the app is doing
    many things in java run as fast as native code, especially if you're using a later version of java
    i guess there's one way to find out :-)

  • Does native compiling improve application performance ?

    Hi,
    I've got familiar with Excelsior Native Compiler since a week ago. They claim on their website that compiling Java classes directly to native code (machine code) will improve the performance of the application. However, JAlbum (http://jalbum.net) says that its JAR files of the application run "basically at the same speed" compared to the native compiled one for windows.
    Does really compiling Java classes to native code improve performance? I'm not talking about the startup speed, but the whole application performance.
    Thanks...

    Youve really been spreading that article aroundthis
    morning, George, lol.
    It was actually a really good read this morning.
    Thanks for posting it.I know! just realized that's about the 3rd or 4th
    time I've posted it today. just a coincidence, thoughcan't promote that book enough though. Should be required reading (just like Effective Java).

  • Kernel Memory limits. How much can it usefully use?

    I just wanted to check something.
    Obviously the Linux kernel can handle a lot of memory, but the question is how much can it usefully use before it needs to be specially compiled?
    I need to build a server to clean email, and because it is very very busy, (well the last one was and so is its stand in) it will need 4GB of RAM as an absolute minimum but I would like to put in 8. If I go for 8, do I need to rebuild the kernel?
    Kind regards
    Benedict White

    If you install Arch64 and use the normal kernel package -- no. You won't touch the RAM limit for some decades to come.

  • How much can 16GB of data hold?

    I am looking to at  a new iPhone 6 but don't know how much storage to get. How much can 16 GB of data hold?

    A 16 gig iPhone is going to have around 12 gigs of free space.

  • How much can you customize Professional level storefronts?

    I know that you need to be an Enterprise user to have completely customized storefronts, but how much can you customize Professional user storefronts? What do they look like? Most magazines I've seen are Enterprise level

    With a Professional account, you cannot customize the storefront. If you create a subscription app, you can specify subscription tiles and indicate with subscription durations are available, but that's about it.

  • How much can you trust on SUNWjass security hardenning?

    how much can you trust on SUNWjass security hardenning?
    If I am setting up sun cluster 3.2 on 2 nodes, do i need to apply the Drivers ,
    server-secure.driver
    suncluster3x-config.driver
    suncluster3x-hardening.driver
    suncluster3x-secure.driver
    OR
    I am in confusion

    Hi,
    Are we sure that a voice memo can only be 35 minutes long? I only ask as I'm about to start Uni and was quite keen to use the voice memo feature to record lectures (which are definitely longer than 35mins).
    Just to test (as I've never really used mine before) I might leave mine running tonight and see when it cuts out/stops.
    BTW, what's iTalk....and how do I get it???
    Thanks :o)

  • How much can a 16 gb ipad 2 hold?

    How much can a 16 gb ipad2 hold?

    Your average movie is 2-4 gigs, average song 3-4 megs, average album 30-50 megs. Documents and eBooks are relatively small
    I have 4 movies, a couple of albums, hundreds of documents and some apps and have a couple of gig free.

  • How much can too many imports slow inititialization down?

    How much can too many imports slow applet inititialization down?
    I have seen our company's sorce code for some huge applets they have written. In many, many cases, the imports at the beginning of each file are written something like this...
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.border.*; 
    import javax.swing.event.*;Only certain portion of these imports are actually used. Does this sort of thing really impact the applets loading speed? I know it will obviously take at least a little longer but will the user even notice?

    You are not actually importing the classes, but rather making the names of the classes available.

  • I bought the 5s above one month ago in USA.If I want to sell to someone,how much can I sell?Above 95%new

    I bought the 5s above one month ago in USA.If I want to sell to someone,how much can I sell?Above 95%new

    No one on here can tell you the fare market value of your iPhone...look at the prices being paid on places like eBay or Craigslist to get an idea.

  • I'm looking to buy Macbook Air 13''. Can I get discount as a university student? If yes how much can i get?

    I'm looking to buy Macbook Air 13''. Can I get discount as a university student? If yes how much can i get?

    You can buy the Mac cheaper at the Apple Store for Education > http://store.apple.com/us-hed/findyourschool?aid=AOS-US-Edu-NavLink Open that page and you will see the cost of the computer you need

  • How can i build RPMs file for my own Java Application?

    How can i build RPMs file for my own Java Application?....I have my own directory that contains all Java Source files and some files that my Application required....I want to build RPMs file like a install File to Linux System, Now my OS is Linux Fedora core 1.....How can i do this?

    I think that in order to create a RPM, you'd need to
    use some C.Nope - the RPM is all about packaging and the "magic" x.spec file. You can have anything you want in the RPM, but you have to use RPM tools to build the .rpm file. One of the features is that you can also indicate (via "install" scripts) modifications to other files or the filesystem to support the installation of whatever's in the RPM.

  • How i can set dropDown item to 6th item from java code ?

    Hi
    Thank you for reading my post.
    how i can set dropDown item to 6th item from java code ?
    i have the value field of database and i can use it to set selected item of DropDown.
    so : can i use value field to set the selected item ?
    Thank u.

    Hi,
    Please go through the following thread which discusses about setting teh selected item for a dropdown:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=50697
    Hope it helps
    Cheers
    Giri

  • How i can open a new command prompt from one java from

    hi
    can any one help me that how i can open a command prompt by using the java program file .
    regards,
    ukbasak

    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html#exec(java.lang.String)
    and several overloads.
    Also
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.html

  • How do i Hyperlink to a web page from a java application?

    How do i Hyperlink to a web page from a java application using internet explorer as my default web browser?

    It's very simple.You can start any Application with the class Runtime. The command is an array consisting of the path of .exe and the file to be open.
    String [] cmd={path of IE+Filename.exe,"URL of your website"}
    try
    Runtime.getRuntime().exec(cmd);
    catch (Exception e)
    System.err.println(e.toString());
    }

Maybe you are looking for

  • Black only error message when all inks are full

    My printer ran out of a color some time ago and popped up the black only message box. I have since replaced all of the colored inks and it still gives me the black only message when I go to print and says I need to replace magenta. I just replaced it

  • Hiding contents in one Role based on another Role.

    Hi, Please help me in the following.... Say there are 2 roles. Role A and Role B.        Role A            Content 1                    sub contents...            Content 2                    sub Contents.. if the User has Role A alone, then Content

  • Applet, Application communication

    Hi Someone tell me how to do applet, application communication. I have one standalone application, running in server and receiving connection from applets and every min. the server has to send some data back to each apllet connected. How to do it...

  • Changing number format

    Hi , I need to change number format . for example if its 1 lakh 1,00,000.56 (56 paise)  its displaying as 1.00.000,56. how to convert it to 1,00,000.56

  • OC4J and Hardware Loadbalancer

    Hi I have high available structure in which my two machines are attached with hardware loadbalancer. The scheme followed for load balancing is ROUND ROBIN which means that the load balancer will handover the first request to the first machine and sec