|
This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] Yes. So obviously it is most suitable to long-running "server" type applications that remain running. Things like WebSphere and Tomcat. That being said, the overhead of a JIT compile is much less than that of CRTJVAPGM. It is going over my head to go into specifics, but the way it was explained to me was that at runtime the "compiler" has a lot more information about how the code is being used so it can perform more aggressive optimizations as well as the opposite, meaning it can no that the code should probably just be interpreted. The JIT compile can choose to optimize just the pieces of your code that it wants to optimize based on its algorithms. It can also do some of the work in the background as it learns more. If you had some Java code that you were going to call in-line from an interactive green screen process, then CRTJVAPGM would probably make more sense since you would probably want minimal overhead. But in long-running processes, the JIT is a great option. Mark "David Gibbs" <david@midrange.com> Sent by: java400-l-admin@midrange.com 11/04/2002 10:31 AM Please respond to java400-l To: java400-l@midrange.com cc: Subject: Re: AS/400 and Java "Mark Phippard" <MarkP=sC2JmdVpHGPwvR0lvYjcXw@public.gmane.org> wrote in message news:OF707E3787.1B823048-ON85256C67.0053B923-85256C67.00546169@softlanding.c om... > Actually most of the IBM'ers I have heard speak about this issue say that > the JIT compiler is the direction of the future. It already produces code > that is comparable to optimization level 40 and will only get better. But do you encounter the code generation overhead every time your class is invoked? david _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.