Re: Performance penalty of using private variable in inner class
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <20070831084652312.00000002872@RONYANG01> |
Hi there. * go here: https://jdk7.dev.java.net/ * click "Latest JDK 7 binary snapshots" * download the "..... self extracting DEBUG Jar file" appropriate for your platform This guy keeps my favorite list of JVM options: http://blogs.sun.com/watt/resource/jvm-options-list.html Some other guy out there scanned the sun java source code and has an exhaustive list of options, but the url eludes me. Hope this helps, Ron > -----Original Message----- > From: Discussion of advanced Java topics. > [mailto:[email protected]] On Behalf Of Endre Stølsvik > Sent: Friday, August 31, 2007 5:09 AM > To: [email protected] > Subject: Re: [ADVANCED-JAVA] Performance penalty of using > private variable in inner class > > [email protected] wrote: > > I diffed the assembly output from hotspot and my layperson > conclusion is there is no [meaningful] difference. > > > > With the java 7 debug build I ran: > > javac T.java && java -server -XX:+PrintOptoAssembly -Xcomp > -cp . T > > > private javac T.java && java -server -XX:+PrintOptoAssembly > -Xcomp -cp > > . T > pp > > > > I do know this is a rather old post to reply to, but I just > came over it.. > > From where did you get this exciting option?! When I google > it, this post is actually on place #3 and #4 of the result > list, with #1 and #2 being some bugs.sun.com entries..! > > How do you get hold of these [fast]debug builds? > > Other cool options, listed along with the one you came up > with, are the PrintEscapeAnalysis and DoEscapeAnalysis, but I > guess these aren't available/enabled yet, at least Brian > tells us that whenever they crop up in some message..! > > Is there a place that list ALL the X and XX options, > preferably per JVM version? It doesn't really seems like way > too much to ask, but I've never come across it. And the > documentation there is, for example on the GC tuning stuff, > is spread out in lots of documents, some PDFs and whatnots, > and is always not for the current JVM! > > Kind regards, > Endre. > > =================================== > This list is hosted by DevelopMentor http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > > =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com