Re: Should there be any issues using sun.invoke.anon?

2011-07-11 Thread Mark Roos
Hi John, Thanks for the plug. I feel that I have taken more than I have contributed. Hopefully I'll return some next week. As for your comments the anonymous class loader is a purely experimental feature, with no standard API. For this reason, you can only use it reliably with MLVM

Re: Should there be any issues using sun.invoke.anon?

2011-07-11 Thread John Rose
P.S. Mark, I dropped your name at the Java 7 launch. Thanks for all your help and encouragement shaking out the new machinery! http://www.oracle.com/us/corporate/events/java7/index.html ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.o

Re: Should there be any issues using sun.invoke.anon?

2011-07-11 Thread John Rose
Hi Mark. I have to tell you that the anonymous class loader is a purely experimental feature, with no standard API. For this reason, you can only use it reliably with MLVM builds. To run on a standard JVM, your bytecodes need to be loaded under a name. It can be an arbitrary name, of course.

Should there be any issues using sun.invoke.anon?

2011-07-11 Thread Mark Roos
Hi all I have be using sun.invoke.anon.AnonymousClassLoader for generating my classes with no issues until now. With the 6/30 MacOs version from google code I find that my code runs fine but when I go to recompile it I get the package not found error. I see the package in the rt.jar using a

Re: Inlining heuristic trouble

2011-07-11 Thread Christian Thalinger
On Jun 21, 2011, at 3:28 AM, John Rose wrote: > On Jun 20, 2011, at 12:17 PM, Tom Rodriguez wrote: > >> On Jun 18, 2011, at 5:15 AM, Rémi Forax wrote: >> >>> On 06/18/2011 03:15 AM, Tom Rodriguez wrote: On Jun 17, 2011, at 5:00 PM, John Rose wrote: > On Jun 17, 2011, at 10:21 AM, T

Re: MethodHandle lookup&invocation performance

2011-07-11 Thread Hervé Girod
That's great then! I will try to inokedynamicize my code soon to see what I could gain ;) Herve Sent from my iPhone On 11 juil. 2011, at 15:36, Rémi Forax wrote: > On 07/11/2011 03:34 PM, Hervé Girod wrote: >> Hello, >> >> My comprehension is that the lookup can be performed only once, to ge

Auto Reply: Re: MethodHandle lookup&invocation performance

2011-07-11 Thread bertrand . delsart
Sorry, I'm away till August 1st. For urgent matters, please contact David.Therkelsen ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Re: MethodHandle lookup&invocation performance

2011-07-11 Thread Rémi Forax
On 07/11/2011 03:17 PM, Christian Thalinger wrote: > On Jul 9, 2011, at 3:27 PM, Hiroshi Nakamura wrote: >> Hello, >> >> Thanks for you comments. >> >> On Sat, Jul 9, 2011 at 19:01, Jochen Theodorou wrote: Code is here: https://raw.github.com/nahi/jsr292-sandbox/master/src/jp/gr/java_con

Re: MethodHandle lookup&invocation performance

2011-07-11 Thread Rémi Forax
On 07/11/2011 03:34 PM, Hervé Girod wrote: > Hello, > > My comprehension is that the lookup can be performed only once, to get the > MethodHandle, and that checks are done there and not after when using the > MethodHandle anymore. Am I right? Yes ! Rémi > Sent from my iPhone > > On 11 juil. 20

Re: MethodHandle lookup&invocation performance

2011-07-11 Thread Hervé Girod
Hello, My comprehension is that the lookup can be performed only once, to get the MethodHandle, and that checks are done there and not after when using the MethodHandle anymore. Am I right? Sent from my iPhone On 11 juil. 2011, at 15:17, Christian Thalinger wrote: > On Jul 9, 2011, at 3:27

Re: MethodHandle lookup&invocation performance

2011-07-11 Thread Christian Thalinger
On Jul 9, 2011, at 3:27 PM, Hiroshi Nakamura wrote: > Hello, > > Thanks for you comments. > > On Sat, Jul 9, 2011 at 19:01, Jochen Theodorou wrote: >>> Code is here: >>> https://raw.github.com/nahi/jsr292-sandbox/master/src/jp/gr/java_conf/jruby/MethodHandleTest.java >> >> lookup I don't know.

Re: Crash, unknown details, may or may not be invokedynamic-related

2011-07-11 Thread Christian Thalinger
On Jul 10, 2011, at 8:42 AM, Charles Oliver Nutter wrote: > I'm attaching an error log for a crash that's reproducible for me with > a recent openjdk-osx-build. It may or may not be useful depending on > how far behind other fixes they are. > > I thought it would be interesting for MLVM list becau