[PJUG Javamail] Optimizing Java

VY vyau5678 at gmail.com
Tue Sep 29 13:55:09 EDT 2009


Including response in the alias.


On Tue, Sep 29, 2009 at 10:48 AM, Phil Varner <philvarner at gmail.com> wrote:

> My view is that you only have a 50% chance of making any Java code
> faster by rewriting the code itself.  I've basically given up on
> trying to write explicitly "fast" code.  As you say, the JVM is very
> self-optimizing.  The bigger gains usually come from profiling and
> actually rewriting the logic of your app, rather than any any language
> specific things.  Even then, it's difficult to measure, since, for
> example, JRockit takes about 20 min to warmup.
>
> Why do you need to optimize the app?
>
> --Phil
>
> On Tue, Sep 29, 2009 at 10:41 AM, VY <vyau5678 at gmail.com> wrote:
> > Thanks for the tips.
> > However, this raised a question that I have had before I email the group.
> >
> > This link is 4 years old:
> > http://java.sun.com/performance/reference/whitepapers/tuning.html
> >
> > This book was published 9 years ago:
> > http://www.amazon.com/exec/obidos/ASIN/0201704293/none0b69
> >
> >
> > If I am using the latest JDK, are these resources still applicable?
> > I did some search myself and I ran into a lot of these somewhat dated
> > resources as well.
> >
> > It leaves me the impression that perhaps modern day Java VM is already
> > VERY optimized as is.
> >
> > --Vincent
> >
> >
> >
> >
> > On Tue, Sep 29, 2009 at 10:20 AM, Umesh Gohil <gohilumesh at hotmail.com>
> > wrote:
> >>
> >> May be this might help you
> >>
> >> http://java.sun.com/performance/reference/whitepapers/tuning.html
> >>
> >> ________________________________
> >> Date: Tue, 29 Sep 2009 10:09:01 -0700
> >> From: richardj at lingosys.com
> >> To: javamail at pjug.org
> >> Subject: Re: [PJUG Javamail] Optimizing Java
> >>
> >> Vincent asks:
> >>
> >> " I have the need to optimize a server side Java application.  Is
> >> " there any good book, website or reference   that talks about
> >> " Java optimization?
> >>
> >>
> >> Maybe these things from a quick search will get you started:
> >>
> >> http://bdn.backbase.com/node/5253
> >> http://www.amazon.com/exec/obidos/ASIN/0201704293/none0b69
> >>
> >>
> http://software.intel.com/en-us/articles/optimizing-java-on-intel-server-platforms/
> >> http://www.borland.com/us/products/index.html
> >> http://www.excelsior-usa.com/jetserver.html
> >>
> >> I think there's a local company that does optimization (and obfuscation)
> >> tools but who they are escapes me at the moment.  Good luck.  Let us
> know
> >> what you come up with, maybe do a talk for a meeting.  :-)
> >> --
> >> Richard J.
> >> ________________________________
> >> Insert movie times and more without leaving Hotmail®. See how.
> >> _______________________________________________
> >> Web Site - http://www.pjug.org/
> >> Javamail mailing list
> >> Javamail at pjug.org
> >> http://www.pjug.org/mailman/listinfo/javamail
> >>
> >
> >
> > _______________________________________________
> > Web Site - http://www.pjug.org/
> > Javamail mailing list
> > Javamail at pjug.org
> > http://www.pjug.org/mailman/listinfo/javamail
> >
> >
>
>
>
> --
>
> Machines might be interesting, but people are fascinating. -- K.P.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pjug.org/pipermail/javamail/attachments/20090929/de310884/attachment.html 


More information about the Javamail mailing list