1 ERROR: title, url, excerpt, and blog_name not specified.
Vysez said:
arjan de lumens said:There are at least 2 metrics that performance should be judged by: Throughput and Response Time. I do in general get the impression that JIT compilers mostly solve the major throughput issues that Java otherwise has, but they still appear to suffer from serious response time issues.
Well spoken.DemoCoder said:Spoken by someone who doesn't have a clue (JIT "what"? JIT Compilation? What sucks about it? Sounds like yet another ignorant conclusion from someone who confuses slow startup or GUI performance with raw execution speed_
arjan de lumens said:A JIT-compiled program should be quite fast - *AFTER* you have JIT-compiled the entire damn thing. Until you are done, you keep getting random slowdowns (this gets worse the larger your application is).
Alternatlvely, you can do Ahead-Of-Time compilation of Java just like you would do with C/C++, in which case any performance issues with JIT immediately become moot.
Huh? Garbage collection pauses are a completely separate issue from JIT slowness, and AFAICS that problem is mostly solved; the incremental garbage collectors in recent Java versions (1.4 and up) seem to have developed to a point where you will no longer be annoyed, or even notice, the occasional garbage collection event.K.I.L.E.R said:
A JIT-compiled program should be quite fast - *AFTER* you have JIT-compiled the entire damn thing. Until you are done, you keep getting random slowdowns (this gets worse the larger your application is).
Yeah, it sounds like that, indeed. *shrugs*DemoCoder said:Sounds like yet another ignorant conclusion from someone who confuses slow startup or GUI performance with raw execution speed_
I did read it, and still didn't get the impression that garbage collection problems, such as inadequate heap size (wtf?), were the main reason for Java program startup slowness.K.I.L.E.R said:It has information about tweaking the GC so your startup is without noticeable hitches.
arjan de lumens said:A JIT-compiled program should be quite fast - *AFTER* you have JIT-compiled the entire damn thing. Until you are done, you keep getting random slowdowns (this gets worse the larger your application is).
Alternatlvely, you can do Ahead-Of-Time compilation of Java just like you would do with C/C++, in which case any performance issues with JIT immediately become moot.
I don't know; I don't think so. It seems like an obvious optimization to do; doing it would presumably help startup/JIT-compilation times considerably.Saem said:Do JVMs store profile information beyond the lifetime of a program so that they can be reused?