A simple PIC api
Mark Roos
mroos at roos.com
Thu Mar 12 19:39:43 UTC 2015
Rémi your suggested paper and comments caused me to take a look at my code
base some more. What I found was that for a given selector+arity 93% of
them
have 5 implementations or less ( across 2000 classes and 25K methods).
Combining
this with my prior observations that 99% of the call sites have less than
5 receivers
implies to me that a 5 element pic with appropriate pattern matching could
cover
most everything. The key will be how to come up with a pattern (bit
vector?) from
the args which can be tested quickly. I think I may be able to statically
compute this
given a 64 bit field as the arg behavior identifier.
Thanks again, off to follow the cites.
mark
fyi 60% had only one implementation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20150312/6120176e/attachment.html>
More information about the mlvm-dev
mailing list