Request for reviews (XXS): 7086560: 7085404 changes broke VM with -XX:-EnableInvokeDynamic

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Sep 2 15:49:42 PDT 2011


Thank you, John

I am testing performance regression versus jdk7 b135 which does not have needed 
jsr292 java code so I have to run VM with -XX:-EnableInvokeDynamic, otherwise 
you get next failure:

% gamma -Xcomp t
Using java runtime at: /java/re/jdk/7/promoted/all/b135/binaries/solaris-amd64/jre
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/invoke/MethodHandle

And today I updated my Hotspot sources to latest changeset, rebuild and it 
crashed in ciField()::is_call_site_target().

Vladimir

John Rose wrote:
> Good.  Thanks for fixing that.  How was it discovered?  -- John
> 
> On Sep 2, 2011, at 3:23 PM, Vladimir Kozlov wrote:
> 
>> http://cr.openjdk.java.net/~kvn/7086560/webrev
>>
>> 7086560: 7085404 changes broke VM with -XX:-EnableInvokeDynamic
>>
>> Add check that ciEnv::_CallSite_klass is initialized.
>>
>> Thanks,
>> Vladimir
> 


More information about the hotspot-compiler-dev mailing list