On Jan 23, 2015, at 8:00 AM, Vladimir Ivanov <vladimir.x.iva...@oracle.com> 
wrote:
> 
> Good idea, Peter!

+1

> Updated version:
> http://cr.openjdk.java.net/~vlivanov/8069591/webrev.02/ 
> <http://cr.openjdk.java.net/~vlivanov/8069591/webrev.02/>

Yes, that's good, and you can count me as a reviewer.  — John

P.S. One could also get rid of the LF.customized field by stuffing both that 
value and the original LF in the transformCache (as a 2-array), but that's 
overkill.

P.P.S. A possible generalization to the LF.customized field would be an 
optional list of type, value, and/or structure constraints for one or more 
arguments to the LF.  Then we could (a) customize on additional arguments if we 
thought that were useful, and/or (b) produce semi-custom code that could be 
shared by more than one MH, if we thought there was an interesting equivalence 
class of MHs to speed up with common code.

Reply via email to