Incidentally, I just built it today after a full hg fpull/fupdate, and Rémi's example from his backport runs with it. This is actually first time I observed running invokedynamic live on my own machine (exciting!).
Gimme a command line for retrieving the changeset etc. information (I'm a relative hg newbie) and I'll tell you what does it print for me. Attila. On 2009.07.07., at 21:04, Charles Oliver Nutter wrote: > Incidentally, what rev is someone's working MLVM bsd-port at? Mine > is at: > > changeset: 854:11a78e401465 > tag: qparent > parent: 819:0ccf04929cc7 > parent: 853:8754a3c37762 > user: [email protected] > date: Sun Jun 28 18:38:43 2009 -0700 > summary: . Merge in changes from main OpenJDK repository. > > I tried fpull and fupdate of all my bsd-port, reapplied patches, and > did a clean build...no love :( > > On Tue, Jul 7, 2009 at 1:18 PM, Charles Oliver > Nutter<[email protected]> wrote: >> On Tue, Jul 7, 2009 at 4:16 AM, Christian >> Thalinger<[email protected]> wrote: >>> That looks good too. Is this the command you executed (I think I >>> read >>> it correctly from the error): >>> >>> $ jruby -Djruby.compile.invokedynamic=true -XX: >>> +EnableInvokeDynamic -d >>> -e puts 1 >>> >>> Because that works for me. Well, it does not print anything, as I >>> supposed, but it does not crash. >> >> You're missing the -J in front of those JVM options, but yes, it >> crashes for me: >> >> ➔ jruby -J-Djruby.compile.invokedynamic=true >> -J-XX:+EnableInvokeDynamic -e puts 1 >> # >> # A fatal error has been detected by the Java Runtime Environment: >> # >> # SIGSEGV (0xb) at pc=0x011a4d7a, pid=39691, tid=2954375168 >> # >> # JRE version: 7.0 >> # Java VM: OpenJDK Client VM (16.0-b03 mixed mode bsd-x86 ) >> # Problematic frame: >> # V [libjvm.dylib+0x1a4d7a] >> # >> # An error report file with more information is saved as: >> # /Users/headius/projects/jruby/hs_err_pid39691.log >> # >> # If you would like to submit a bug report, please visit: >> # http://java.sun.com/webapps/bugreport/crash.jsp >> # >> Abort trap >> >> It *also* crashes without invokedynamic, as in "jruby -e puts 1" or >> "jruby -v". >> >> Maybe my bsd-port is behind? I'll try updating it and see. >> >> - Charlie _______________________________________________ mlvm-dev mailing list [email protected] http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
