instruction timings / optimization ?

2009-09-18 Thread James Ladd
Hi All, A couple of questions which I hope are appropriate for this list: 1. Is there a document that details each VM instruction and the time it takes in cycles on a particular architecture? I ask because often on the http://www.masm32.com/board/index.php forum they provide CPU c

Re: instruction timings / optimization ?

2009-09-19 Thread James Ladd
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 loo

Re: instruction timings / optimization ? (Charles Oliver Nutter)

2009-09-20 Thread James Ladd
: instruction timings / optimization ? (Charles Oliver Nutter) >2. Re: instruction timings / optimization ? (James Ladd) >3. Re: JVM Language Summit happenings... (Patrick Wright) > > > -- > > Message: 1 >

Which file is the interpreter?

2009-09-21 Thread James Ladd
Hi All, I'm wading through the openJDK source and I'm wondering, which file or files are responsible for executing each bytecode ? ie: the loop that gets a bytecode, works out what is it and then dispatches it. Rgs, James. _ Use M

Re: instruction timings / optimization ?

2009-09-22 Thread James Ladd
Hi All, As promised here are two links to resources to help you time pieces of code with a very high resolution. Using this approach it is theoretically possible to determine the CPU cycles each virtual machine instruction takes, thus enabling further optimization at the bytecode level or in th

Re: Which file is the interpreter?

2009-09-23 Thread James Ladd
Re: Which file is the interpreter? Thank you for the responses. Gary Benson's blog is very interesting but also lengthy, and the file templateTable_.cpp in src/cpu//vm/ looks close to what I am after, but not it. Although I could be wrong given my newness to the code. Im looking for the loop t

A possible performance boost?

2009-09-28 Thread James Ladd
Hi All, I have a suggestion on a possible performance boost for the JVM which if I had time I would research more and implement, however, I'm rather time poor right now and thought I could at least put the idea in the wild for someone else or myself at a later stage. >From my last use of GCC a

A possible performance boost? (James Ladd)

2009-09-30 Thread James Ladd
Any comments ? > Hi All, > > I have a suggestion on a possible performance boost for the JVM which if I > had time > I would research more and implement, however, I'm rather time poor right now > and > thought I could at least put the idea in the wild for someone else or myself > at a later >

Re: A possible performance boost? (James Ladd) (John Rose)

2009-10-01 Thread James Ladd
Hi John, Thank you for the response. Of course I see a lot of merit in what you are suggesting regards benchmarks and the actual and more pressing concerns. I do intend to work through a full and proper suite of tests and benchmarks to show what if any improvement can be gained. However - in t

Which bytecode generator ?

2009-11-04 Thread James Ladd
Hi All, I'm wondering which bytecode generation library I should use for my SmalltalkJVM project? What do you recommend? Rgs, James. _ For more of what happens online Head to the Daily Blo

Re: Which bytecode generator ?

2009-11-06 Thread James Ladd
Is there a lite / simpler bytecode generation library than ASM ? _ Download new and classic emoticon packs at Emoticon World Brought to you exclusively by Windows Live http://windowslive.ni