Re: Backport 2.0 RC

2012-07-30 Thread Charles Oliver Nutter
I tried it on JRuby...perhaps I'm doing something wrong: Command line: java -javaagent:lib/jsr292-backport.jar -Djruby.home=/Users/headius/projects/jruby -Djruby.compile.invokedynamic=true -Djruby.jit.logging.verbose=true -jar ../jruby/lib/jruby.jar -e puts 1 Error:

Re: Backport 2.0 RC

2012-07-29 Thread Mark Roos
Hi Rémi gave it a shot with this launch java -javaagent:jsr292-backport.jar -agentpath:javaDebug.dylib ri/experiment2/TestSm Got this error C: Unable to locate callback class. java.lang.NoClassDefFoundError - klass: 'java/lang/NoClassDefFoundError' ./testBackport: line 3: 38777

Backport 2.0 RC

2012-07-27 Thread Rémi Forax
As traditionally for the JVM Summit, I'm please to announce a new version of the JSR 292 backport, http://code.google.com/p/jvm-language-runtime/downloads/list This version as some speed improvements and numerous bug fixes thanks to the Nashorn Team. I'm still interested by any report of your

Re: Backport 2.0 RC

2012-07-27 Thread Jochen Theodorou
Am 27.07.2012 18:44, schrieb Rémi Forax: As traditionally for the JVM Summit, I'm please to announce a new version of the JSR 292 backport, http://code.google.com/p/jvm-language-runtime/downloads/list This version as some speed improvements and numerous bug fixes thanks to the Nashorn Team

Re: Backport 2.0 RC

2012-07-27 Thread Rémi Forax
On 07/27/2012 07:56 PM, Jochen Theodorou wrote: Am 27.07.2012 18:44, schrieb Rémi Forax: As traditionally for the JVM Summit, I'm please to announce a new version of the JSR 292 backport, http://code.google.com/p/jvm-language-runtime/downloads/list This version as some speed improvements

Re: Backport 2.0 RC

2012-07-27 Thread Mark Roos
Hi Remi How do I run with the backport? I am using OSX Lion. regards mark___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Re: Backport 2.0 RC

2012-07-27 Thread Rémi Forax
On 07/27/2012 09:49 PM, Mark Roos wrote: Hi Remi How do I run with the backport? I am using OSX Lion. regards mark download the backport, unzip the zip, in lib you have two files one is asm-4 and the other is the backport (jsr292-backport.jar) the jsr292-bkkcport.jar is a Java agent

Re: Updated backport?

2010-10-07 Thread Charles Oliver Nutter
On Wed, Oct 6, 2010 at 8:46 AM, Rémi Forax fo...@univ-mlv.fr wrote: Le 06/10/2010 06:18, Charles Oliver Nutter a écrit : sorry, I've forgotten that there is a dependency between java.dyn and sun.dyn. I've updated the backport (1.4a). No problem Rémi, it looks great now. Thanks! - Charlie

Re: Updated backport?

2010-10-06 Thread Rémi Forax
Le 06/10/2010 06:18, Charles Oliver Nutter a écrit : On Tue, Oct 5, 2010 at 5:06 PM, Rémi Foraxfo...@univ-mlv.fr wrote: The latest backport includes the generation of stubs at runtime. These stubs are roughly the equivalent of JRuby's ones but generated on demand. Let me know

Re: Updated backport?

2010-10-05 Thread Charles Oliver Nutter
Thanks Rémi, looks ok now! On Tue, Sep 28, 2010 at 4:05 PM, Rémi Forax fo...@univ-mlv.fr wrote: Le 28/09/2010 18:28, Charles Oliver Nutter a écrit : It appears the current release of the backport, 1.3, could use a refresh. In addition, the jsr292-mock.jar was built with Java 7, which brings

Re: Updated backport?

2010-10-05 Thread Rémi Forax
Le 05/10/2010 21:24, Charles Oliver Nutter a écrit : Thanks Rémi, looks ok now! The latest backport includes the generation of stubs at runtime. These stubs are roughly the equivalent of JRuby's ones but generated on demand. Let me know if there is a problem. I'm not fully confident

Re: Updated backport?

2010-10-05 Thread Charles Oliver Nutter
On Tue, Oct 5, 2010 at 5:06 PM, Rémi Forax fo...@univ-mlv.fr wrote: The latest backport includes the generation of stubs at runtime. These stubs are roughly the equivalent of JRuby's ones but generated on demand. Let me know if there is a problem. I'm not fully confident of the path

Re: Updated backport?

2010-09-28 Thread Rémi Forax
Le 28/09/2010 18:28, Charles Oliver Nutter a écrit : It appears the current release of the backport, 1.3, could use a refresh. In addition, the jsr292-mock.jar was built with Java 7, which brings up a lot of compile-time errors when using it with non-Java 7 :) All mock jars that I've

Backport update

2010-03-25 Thread Rémi Forax
I've updated the backport (1.3) to be in sync with the current mlvm status. http://code.google.com/p/jvm-language-runtime/downloads/list It supports lightweight CallSite, invokeExact, invokeGeneric but the support of new ldc is not ready (I need a new version of ASM and currently some regression

Need a jsr292-backport update?

2010-03-15 Thread Charles Oliver Nutter
Hey, I'm trying to update JRuby for all the changes to the java.dyn APIs over the past few months, and it looks like the jsr292 backport needs to be updated. Rémi: You out there? Do you have plans to update it? - Charlie ___ mlvm-dev mailing list mlvm

backport

2009-09-22 Thread Raffaello Giulietti
I must confess that I never took a deep look at Rémi's backport. But after having seen his report at the JVM Language Summit last Friday, I must state that the results are quite impressing, given that it is a library solution for indy rather than a JVM patch, as also noted by Neal Gafter. Pour ça

Re: backport

2009-09-22 Thread John Rose
Je conviens complètement. Vive le backport! -- John On Sep 22, 2009, at 4:39 AM, Raffaello Giulietti wrote: I must confess that I never took a deep look at Rémi's backport. But after having seen his report at the JVM Language Summit last Friday, I must state that the results are quite

Re: Surinx + backport

2009-09-12 Thread Christian Thalinger
John Rose wrote: On Sep 11, 2009, at 3:35 PM, Rémi Forax wrote: Christian, the inlining patch currently doesn't work :( in methodHandleWalk.hpp (line 322) : int cpool_oop_reference_put(int tag, int first_index, int second_index) { if (index == 0) return 0; // this line

Re: Surinx + backport

2009-09-12 Thread John Rose
I just pushed that fix. I also pushed (what I hope are) the fixes for the last GC bugs. Please let me know what happens. -- John On Sep 12, 2009, at 1:03 AM, Christian Thalinger wrote: Ha! Thanks for the explanation, I didn't understand how this compiles for me :-)

Re: Surinx + backport

2009-09-12 Thread Charles Oliver Nutter
-XX:+UnlockExperimentalVMOptions -J-XX:+EnableInvokeDynamic bin/surinx examples/fib.sx 0.091 0.068 0.066 0.067 0.067 0.066 0.066 0.065 0.069 0.066 I don't have Remi's backport handy, but it's obviously very close. JRuby numbers are nearly as fast as non-indy now too: ~/projects/jruby ➔ jruby

Re: Surinx + backport

2009-09-11 Thread Charles Oliver Nutter
('/') instead of dot ('.') Ahh, thanks for this :) I will patch it. Here are the result with the backport: [fo...@localhost surinx]$ /usr/jdk/jdk1.6.0_11/bin/java -cp .:src -javaagent:../indy-backport2/lib/jsr292-backport.jar examples/fib hello 1.001 0.051 0.052 0.078 0.074

Re: Surinx + backport

2009-09-11 Thread Rémi Forax
it or not. The compiler generate a LDC + forName with a name containing slash ('/') instead of dot ('.') Ahh, thanks for this :) I will patch it. Here are the result with the backport: [fo...@localhost surinx]$ /usr/jdk/jdk1.6.0_11/bin/java -cp .:src -javaagent:../indy-backport2/lib/jsr292

Re: Surinx + backport

2009-09-11 Thread John Rose
On Sep 11, 2009, at 3:35 PM, Rémi Forax wrote: Christian, the inlining patch currently doesn't work :( in methodHandleWalk.hpp (line 322) : int cpool_oop_reference_put(int tag, int first_index, int second_index) { if (index == 0) return 0; // this line doesn't compile That's