On Mar 3, 2011, at 9:47 AM, Rémi Forax wrote: > Yes. I use an agent so it can have trigger a deoptimization > even if I don't understand why ?
Here is what I get with a debug build: $ gamma -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic -cp . Megamorphic2 Using java runtime at: /export/twisti/build/hotspot-comp/hotspot/build/jdk-solaris-i586/debug/jre VM option '+UnlockExperimentalVMOptions' VM option '+EnableInvokeDynamic' call from class Megamorphic2 main([Ljava/lang/String;)V to class Megamorphic2 test(LMegamorphic2$Mapper;LMegamorphic2$Mapper;LMegamorphic2$Mapper;Ljava/util/ArrayList;)V call from class Megamorphic2 test(LMegamorphic2$Mapper;LMegamorphic2$Mapper;LMegamorphic2$Mapper;Ljava/util/ArrayList;)V to class Megamorphic2 bar(Ljava/util/ArrayList;LMegamorphic2$Mapper;)V # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/systemDictionary.cpp:2585 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/home/twisti/hotspot-comp/hotspot/src/share/vm/classfile/systemDictionary.cpp:2585), pid=10916, tid=2 # assert(bsm_oop->is_oop()) failed: must be sane # # JRE version: 7.0-b129 # Java VM: Java HotSpot(TM) Server VM (21.0-b02-internal-jvmg mixed mode solaris-x86 ) # Core dump written. Default location: /home/twisti/mlvm/jsr335/core or core.10916 # # An error report file with more information is saved as: # /home/twisti/mlvm/jsr335/hs_err_pid10916.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The assert looks like: 7016279: JSR292 Exception when creating CallSites from multiple threads Is your source code creating CallSites from multiple threads (massively parallel)? -- Christian _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev