runtime failure when "any T" generic method calls another "any T" generic method
Brian Goetz
brian.goetz at oracle.com
Fri Jan 9 21:56:12 UTC 2015
>> Or, couldn't the call from nonspecialized test1() to .<T>test2() also be
>> implemented as invokestatic and be converted to invokedynamic only by
>> specialization?
Yes. We've got some comments in the code to identify places like this
where such optimizations can be made. For now, we're starting with "do
the dumb thing", though, for obvious reasons.
More information about the valhalla-dev
mailing list