instruction timings / optimization ? (Charles Oliver Nutter)
James Ladd
james_ladd at hotmail.com
Sun Sep 20 15:13:12 PDT 2009
Hi Charlie,
Thanks for the notes.
Would you mind sending me the assembler for fib?
While this information is very useful Im also keen to see the assembler
produced for the VM itself, especially around the the instruction loop.
This is just a disassembler so no help required here.
I have a hunch I could help speed up the JVM. More to come when I get
time.
Rgs, James.
> From: mlvm-dev-request at openjdk.java.net
> Subject: mlvm-dev Digest, Vol 22, Issue 19
> To: mlvm-dev at openjdk.java.net
> Date: Sun, 20 Sep 2009 12:00:12 -0700
>
> Send mlvm-dev mailing list submissions to
> mlvm-dev at openjdk.java.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
> or, via email, send a message with subject or body 'help' to
> mlvm-dev-request at openjdk.java.net
>
> You can reach the person managing the list at
> mlvm-dev-owner at openjdk.java.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mlvm-dev digest..."
>
>
> Today's Topics:
>
> 1. Re: instruction timings / optimization ? (Charles Oliver Nutter)
> 2. Re: instruction timings / optimization ? (James Ladd)
> 3. Re: JVM Language Summit happenings... (Patrick Wright)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 19 Sep 2009 12:59:15 -0700
> From: Charles Oliver Nutter <headius at headius.com>
> Subject: Re: instruction timings / optimization ?
> To: Da Vinci Machine Project <mlvm-dev at openjdk.java.net>
> Message-ID:
> <f04d2210909191259k1d8e7c05qeb4553ad8490d578 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Sat, Sep 19, 2009 at 11:43 AM, John Rose <John.Rose at sun.com> wrote:
> > Indeed: ?Google "hotspot disassembler", or look at these links:
> >
> > ? http://wikis.sun.com/display/HotSpotInternals/PrintAssembly
> > ? http://kenai.com/projects/base-hsdis
> >
> > It's a separate plugin rather than a built-in feature, for reasons of
> > history and software ownership. ?But having a plugin at that point is
> > actually a pretty powerful hook.
>
> I finally gave this a try and it seriously only took three steps to install:
>
> 1. Download the binaries linked from the first link (hosted on Kenai).
> Only OS X and Solaris are there (someone should contrib a linux one)
> 2. Copy to JDK7/jre/lib/i386/client and /server as libhsdis-i386.{so|dylib}
> 3. Run with -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly
>
> I'm looking at fib output right now :)
>
> - Charlie
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 20 Sep 2009 07:14:26 +1000
> From: James Ladd <james_ladd at hotmail.com>
> Subject: Re: instruction timings / optimization ?
> To: <mlvm-dev at openjdk.java.net>
> Message-ID: <BLU141-W312A1748B6AE83D7D41E83EDDF0 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hi All,
>
> I do believe getting the timings is possible.
>
> >From working in x86 assembler I know that there are ways to get timings
> from your own code, so finding out the timings for the bytecode execution
> would require instrumenting the bytecode execution routines and carrying
> out a test.
>
> I'll look into this further and into the links given by John.
> I'll also post links to a tool for x86 that will capture the CPU cycles for a block
> of instructions.
>
> Rgs, James.
>
>
> _________________________________________________________________
> View photos of singles in your area Click Here
> http://clk.atdmt.com/NMN/go/150855801/direct/01/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090920/f7692cb4/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Sun, 20 Sep 2009 00:22:23 +0200
> From: Patrick Wright <pdoubleya at gmail.com>
> Subject: Re: JVM Language Summit happenings...
> To: Da Vinci Machine Project <mlvm-dev at openjdk.java.net>
> Message-ID:
> <64efa1ba0909191522j42f605c6w28c58028ce250d73 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Sat, Sep 19, 2009 at 6:02 PM, Mohamed Bana
> <mbana.lists at googlemail.com> wrote:
> > Hello,
> >
> > Thanks for sharing the slides.
> >
> > It'd be great if the talks were downloadable like Lang.NET.
>
> They have been recorded, by InfoQ I think. Should be available
> shortly. Most of the ones from last year were available within a few
> weeks of the conference.
>
>
> Patrick
>
>
> ------------------------------
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
>
> End of mlvm-dev Digest, Vol 22, Issue 19
> ****************************************
_________________________________________________________________
Use Messenger in your Hotmail inbox Find out how here
http://windowslive.ninemsn.com.au/article.aspx?id=823454
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090921/6fa37f35/attachment.html
More information about the mlvm-dev
mailing list