Changes to method handles between jdk8 b103 and 114? more data

Christian Thalinger christian.thalinger at oracle.com
Wed Dec 11 09:16:11 PST 2013


On Dec 11, 2013, at 12:17 AM, Mark Roos <mroos at roos.com> wrote:

> So I updated to b119 and changed some callsite signatures from using Object[] to Object... 
> 
>    // public static RtCallSite bootStrapSelf(MethodHandles.Lookup callerLookup, String name, MethodType type, Object[] arg) { 
>     public static RtCallSite bootStrapSelf(MethodHandles.Lookup callerLookup, String name, MethodType type, Object... arg) { 
> 
> The type errors went away so I assume this was a good idea but now I get a hard trap shortly after I enter my dynamic code. About 
> 300 or so method creations in. 
> 
> The log has lots of: 
> instanceKlass java/lang/invoke/LambdaForm$BMH 
> instanceKlass java/lang/invoke/LambdaForm$MH 
> instanceKlass java/lang/invoke/LambdaForm$MH 
> instanceKlass java/lang/invoke/LambdaForm$BMH 
> instanceKlass java/lang/invoke/LambdaForm$MH 
> instanceKlass java/lang/invoke/LambdaForm$MH 
> 
> like a couple hundred in a row in one spot.  I am using the ExactMath class to do longs and I seem to recall 
> some issues there as well. 

Exact math intrinsics are disabled in the next build (25.0-b62; or b120 for that matter):

https://bugs.openjdk.java.net/browse/JDK-8028997

Try: -XX:-UseMathExactIntrinsics

> 
> I am also running in Eclipse Luna. 
> 
> The fault says: 
> # A fatal error has been detected by the Java Runtime Environment: 
> # 
> #  SIGSEGV (0xb) at pc=0x00000001102cd02c, pid=3318, tid=20995 
> # 
> # JRE version: Java(TM) SE Runtime Environment (8.0-b119) (build 1.8.0-ea-b119) 
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b61 mixed mode bsd-amd64 compressed oops) 
> # Problematic frame: 
> # V  [libjvm.dylib+0x39902c] 
> # 
> 
> any suggestions?  I plan to try compile and run outside of eclipse and add logging to see if the crash 
> is repeatable. 

If it still crashes with exact math intrinsics off try to build a debug VM so we can see if we hit an assert.

> 
> thx 
> mark_______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20131211/6953a026/attachment.html 


More information about the mlvm-dev mailing list