JRuby invokedynamic updates
Charles Oliver Nutter
headius at headius.com
Wed Aug 24 09:26:27 PDT 2011
On Wed, Aug 24, 2011 at 8:50 AM, Christian Thalinger
<christian.thalinger at oracle.com> wrote:
> I have some preliminary results for:
> 7079673: JSR 292: C1 should inline bytecoded method handle adapters
> These numbers are with:
> 7078382: JSR 292: don't count method handle adapters against inlining budgets
> applied (which I currently have out for review). Without that patch the performance goes back down the toilet. I think the next single most important thing is to add support for calling bytecoded method handle adapters directly.
Wow, these numbers are way better! I didn't expect such a drastic
difference right away.
> And here is a redblack tree:
> @Charlie: Is redblack doing self-verification?
Self-verification as in checking that it's working properly?
FWIW, I have been playing with a JRuby port of @notch's little game
(notch is creator of minecraft and wrote a tiny dungeon hacking game
in Java for some contest). On Java 6 I can get 16-17fps at best. Java
7 on OS X doesn't handle GUI well yet, but if I disable GUI the same
slow processing yields 60fps. If it's working like it's supposed to,
that's another big win for invokedynamic.
Christian: I would like to apply recent patches to hotspot-comp, but
the older unapplied webrevs either don't apply cleanly or conflict
with each other. I'll find you on Skype to get recommendations and
then try to post an updated build.
More information about the mlvm-dev