hg: mlvm/mlvm/hotspot: indy: fix GC bug by reworking treatment of constant pool indices
Attila Szegedi
szegedia at gmail.com
Tue Jul 7 12:45:31 PDT 2009
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: glewis at misty.eyesbeyond.com
> 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<headius at headius.com> wrote:
>> On Tue, Jul 7, 2009 at 4:16 AM, Christian
>> Thalinger<Christian.Thalinger at sun.com> 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
More information about the mlvm-dev
mailing list