Not reproductible crash + unexpected exception?

Rémi Forax forax at univ-mlv.fr
Thu Mar 3 00:47:05 PST 2011


  Yes. I use an agent so it can have trigger a deoptimization
even if I don't understand why ?

Rémi

Le 03/03/2011 09:36, Christian Thalinger a écrit :
> On Mar 2, 2011, at 5:26 PM, Rémi Forax wrote:
>> The VM (jdk7b131 linux 64bits) crashes once when running:
>>   java -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic -cp . Megamorphic2
>>
>> The weird thing is even if I'm not able to reproduce the crash anymore.
> This could be a duplicate of:
>
> 6990266: JSR 292 VM crash in Klass::is_subclass_of()
>
> I try to reproduce it.
>
> -- Christian
>
>> I join the classes:
>>   Megamorphic* classes are in .
>>   and RT.class is in jsr335/lambda/optimizer/
>>
>> Moreover, it doesn't work as expected and I get a weird error message:
>>   Exception in thread "main" java.lang.IllegalStateException: no bootstrap method found for invokedynamic
>>       at Megamorphic2.test(Megamorphic2.java:60)
>>       at Megamorphic2.main(Megamorphic2.java:52)
>>
>> Megamorphic2.class contains three invokedynamic calls in test():
>> private static void test(Mapper<Object, Object>  mapper1, Mapper<Object, Object>  mapper2, Mapper<Object, Object>  mapper3, ArrayList<Object>  list) throws Throwable {
>>     bar(list, mapper1);
>>     bar(list, mapper2);
>>     bar(list, mapper3);
>>   }
>>
>> The first one is resolved correctly but the next one throw the IllegalStateException.
>>
>> For the curious, I'm working to create an agent to optimize lambda calls :)
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev



More information about the mlvm-dev mailing list