Efficiency of dropArguments
Mark Roos
mroos at roos.com
Tue Sep 18 09:27:22 PDT 2012
I am looking closely at the test portion of my guard with test method
handle.
On entry my call stack has zero or more arguments plus the object I wish
to
test on top. Currently I drop all of the arguments ( leaving the test
object ),
bind the value to compare (reference) with and then attach the method
which extracts
a field from the test object and identity compares it to the bound value.
Two questions from a low level performance perspective
Would it help much if I specialize the test method for the number of
arguments
thus getting rid of the dropArguments? Especially since I am keeping the
TOS.
Does it matter which end I bind the reference value to? ( TOS vs bottom)
thanks
mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20120918/2ed712bb/attachment.html
More information about the mlvm-dev
mailing list