bug in MacroAssembler::check_method_handle_type for x86

Christian Thalinger christian.thalinger at oracle.com
Thu Mar 29 10:25:46 PDT 2012


On Mar 28, 2012, at 7:31 PM, John Rose wrote:

> On Mar 21, 2012, at 8:17 AM, Christian Thalinger wrote:
> 
>> John, I think there is a bug in MacroAssembler::check_method_handle_type for x86 (with meth-lazy):
> 
> That's correct.  Thanks for noticing it; I'll push a fix.  — John

The weird thing is that when I implement it correctly on SPARC I get:

MH _invokeBasic mh=0x00000007ab4a4fc0 saved_sp=0xffffffff7dcfb681 args=0xffffffff7dcfbf40
MethodHandle:(Ltest/java/lang/invoke/MethodHandlesTest$HasFields;)Z : #( *** unrecognized MH type }
=============== DEBUG MESSAGE: _invokeBasic ================

But it worked with the broken version.

-- Chris

> _______________________________________________
> 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