for review (M): 6812831 factor megamorphic invokeinterface (for 6655638)
Tobias Ivarsson
thobes at gmail.com
Fri Mar 6 01:28:32 PST 2009
On Fri, Mar 6, 2009 at 9:44 AM, John Rose <John.Rose at sun.com> wrote:
> On Mar 6, 2009, at 12:12 AM, Tobias Ivarsson wrote:
>
> > The status is that I have implemented injection for invokeinterface.
> > There is still some testing to be done there and then I'll move on
> > to the other injection points.
>
> Nice! Want to post it as-is before PyCon, so people can look at it
> and see that it's taking shape?
I could do that. It is in a public repository (as meta-patches in a hg repo
checked into a svn repo) on my personal web server at the moment. This fits
my work-flow since I use one machine for coding and another for building. I
would post that url, but my server has been having problems since I upgraded
Apache a few weeks ago. Instead I'll include the patches in this email. Both
are called inti.patch but the bigger one is for hotspot and the smaller one
for jdk. As I said it's work in progress, not much testing done, but it does
compile. There are a also a few comments that are only my personal
todo-notes, most of these are tagged with "THOBE" (makes them easy for me to
grep for).
>
>
> The type test injection point was a mess. Today I just collapsed
> about 20 copies of the assembly code down to 2 copies (sparc, x86). I
> would hate to see you tackle that part of it without today's
> refactoring.
Oh, cool, so perhaps it wasn't such a bad thing that I had to put that work
on hold.
>
>
> Are you presenting at PyCon?
Yes, I'm doing a presentation on the compiler improvements I've been working
on for Jython. If I get these things together in time I hope to be able to
show off some early uses of invoke dynamic. But I'll at least show the
benefits of my Java frame introspection.
I heard some rumors that you would be at the VM summit before PyCon. If so
I'll meet you there.
Don't know if you noticed (I'm just assuming that everybody at Sun gets to
know these things) but I got a BOF accepted for JavaOne on the topic of
language interoperability, my plan was to discuss interface injection as
part of that. I hope that a few of you (people reading this list) will be
there. I'm also doing a session on how good different dynamic languages are
at expressing concurrent programs.
/Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090306/8f8b6820/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inti.patch
Type: application/octet-stream
Size: 34835 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090306/8f8b6820/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inti.patch
Type: application/octet-stream
Size: 5073 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090306/8f8b6820/attachment-0001.obj
More information about the mlvm-dev
mailing list