a new way to play with invokedynamic

2010-11-16 Thread John Rose
Folks, here's a small tool for JSR 292 that may have its uses: http://blogs.sun.com/jrose/entry/a_modest_tool_for_writing Enjoy, -- John ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Re: a new way to play with invokedynamic

2010-11-16 Thread Jim Laskey
Rose artistry at it's finest. Thank you John. On 2010-11-16, at 7:53 AM, John Rose john.r.r...@oracle.com wrote: Folks, here's a small tool for JSR 292 that may have its uses: http://blogs.sun.com/jrose/entry/a_modest_tool_for_writing Enjoy, -- John

Re: a new way to play with invokedynamic

2010-11-16 Thread john.r.r...@oracle.com
You're welcome! Join the Kenai project if you want to tweak it. -- John (on my iPhone) On Nov 16, 2010, at 5:14 AM, Jim Laskey jlas...@mac.com wrote: Rose artistry at it's finest. Thank you John. ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net

Re: a new way to play with invokedynamic

2010-11-16 Thread John Rose
Thanks. Yes, there's a need for something better than clinit to create interesting constants. Here are some cookbook notes about constants and JSR 292... JSR 292 is designed to allow live constants, by allowing the bootstrap method of an invokedynamic instruction to take a relatively

Re: mlvm failed building coroutine.cpp on Mac OS X 10.4.6

2010-11-16 Thread John Rose
Stephen, that's my bug. Will fix ASAP. -- John On Nov 8, 2010, at 6:21 PM, Stephen Bannasch wrote: If I exclude the coro patch: export davinci=$(pwd) guards=buildable testable /coro Then I get this error: # Running javac: /usr/local/soylatte16-i386-1.0.3/bin/java

hg: mlvm/mlvm/hotspot: indy: sync with OpenJDK, bug 6996563

2010-11-16 Thread john . r . rose
Changeset: de6eadf92d4d Author:jrose Date: 2010-11-16 13:17 -0800 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/de6eadf92d4d indy: sync with OpenJDK, bug 6996563 + indy-args-6996563.patch ! series ___ mlvm-dev mailing list

Re: How do I use the new @BootstrapMethod annotation?

2010-11-16 Thread assembling signals
John, thank you a lot for such an effort with that example! I will try this later. But first, I have few non-technical questions about JSR-292 in JDK7. (Sorry, I'm not sure, if these questions has been asked a lot already.) 1) Which JSR-292 features will people be able to use with standard

Re: How do I use the new @BootstrapMethod annotation?

2010-11-16 Thread John Rose
On Nov 16, 2010, at 1:59 PM, assembling signals wrote: 1) Which JSR-292 features will people be able to use with standard (non-customized) JDK7 builds in the future? All those documented in http://cr.openjdk.java.net/~jrose/pres/indy-javadoc-mlvm/ . That is the leading edge of the JSR 292