Re CallSite relinking

2011-03-07 Thread Howard Lovatt
I have found the following class useful for something similar, don't know if it will be of help: /** A {@link MutableCallSite} that can be reset to its initial target. */ public static class ResetableCallSite extends MutableCallSite { private MethodHandle reset = null; /** * Make

Re: Re CallSite relinking

2011-03-07 Thread Mark Roos
Thanks Howard, this looks applicable as well. I had not thought of this approach so it is helpful mark___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

RE: Public Review

2011-03-07 Thread Howard Lovatt
Another couple of nit picky Javadoc comments: 1. Constructor MutableCallSite(MethodType) doesn't describe its argument. 2. Constructor MutableCallSite(MethodHandle) says "Make a blank call site object, possibly equipped with an initial target method handle.", but a non-null target ius required. -

Re: all the jdk/test/java/lang/invoke/ tests are failing

2011-03-07 Thread John Rose
The changed makefiles neglect to add the java/lang/invoke classes to jre/lib/ct.sym. Anybody know offhand how to fix this? I had to do this once for java/dyn, but I've forgotten how. -- John On Mar 5, 2011, at 2:45 PM, Stephen Bannasch wrote: >>> Here's what my build script reports when I st

Re: all the jdk/test/java/lang/invoke/ tests are failing

2011-03-07 Thread John Rose
On Mar 7, 2011, at 12:17 AM, John Rose wrote: > Anybody know offhand how to fix this? I had to do this once for java/dyn, > but I've forgotten how. Never mind: make/docs/CORE_PKGS.gmk -- John ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http:

Re: SwitchPoint GC characteristics

2011-03-07 Thread Rémi Forax
Le 07/03/2011 07:36, Attila Szegedi a écrit : > If a SwitchPoint is invalidated, will all method handles created with its > guardWithTest release the reference to "target" (since they no longer need > it) and only keep the reference to "fallback", so in theory, "target" can be > GCed? > > Atti

hg: mlvm/mlvm/hotspot: meth-rename: fix config errors

2011-03-07 Thread john . r . rose
Changeset: 7539d9a8e017 Author:jrose Date: 2011-03-07 01:13 -0800 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/7539d9a8e017 meth-rename: fix config errors ! meth-rename-7012648.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.ja

hg: mlvm/mlvm/jdk: meth-rename: fix config errors

2011-03-07 Thread john . r . rose
Changeset: c7b1449d3379 Author:jrose Date: 2011-03-07 01:13 -0800 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/c7b1449d3379 meth-rename: fix config errors ! meth-rename-7012648.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java.n

Possible bug

2011-03-07 Thread Howard Lovatt
Hi, I got the following when trying to use CallSites on Stephen Bannasch's latest build (which isn't the latest latest build and therefore this issue might have been found already): # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/re

Re: all the jdk/test/java/lang/invoke/ tests are failing

2011-03-07 Thread John Rose
I just pushed some tweaks to the meth-rename patches. The jtreg tests now pass for me on the built jdk. The next step is to have someone reproduce this good state of affairs. -- John ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openj

Re: in the blue yonder: thinking about syntax support for invokedynamic

2011-03-07 Thread Rémi Forax
Hi all, John, I really like the first part of the proposal even if I think that the syntax can be tweaked a little bit :) I don't see a need for the second part (bootstrap abstraction). Testing a VM implementation without having a way to encode easily invokedynamic is really silly and I hope

Re: all the jdk/test/java/lang/invoke/ tests are failing

2011-03-07 Thread Stephen Bannasch
At 1:15 AM -0800 3/7/11, John Rose wrote: >I just pushed some tweaks to the meth-rename patches. > >The jtreg tests now pass for me on the built jdk. > >The next step is to have someone reproduce this good state of affairs. The ClassValueTest and MethodTypeTest tests started passing but the others

Re: hg: mlvm/mlvm/jdk: coro: add jtreg tags to coro unit tests

2011-03-07 Thread Stephen Bannasch
At 10:41 AM + 3/2/11, lukas.stad...@jku.at wrote: >Changeset: e16f8f75573f >Author:Lukas Stadler >Date: 2011-03-02 11:35 +0100 >URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/e16f8f75573f > >coro: add jtreg tags to coro unit tests > >! coro.patch With the latest changes the

Re: all the jdk/test/java/lang/invoke/ tests are failing

2011-03-07 Thread John Rose
That looks like an old java is being used. Try manually refreshing the langtools repo to the latest revision. Will rebase to bsd-port today. -- John (on my iPhone) On Mar 7, 2011, at 6:24 AM, Stephen Bannasch wrote: > At 1:15 AM -0800 3/7/11, John Rose wrote: >> I just pushed some tweaks

Re: all the jdk/test/java/lang/invoke/ tests are failing

2011-03-07 Thread Stephen Bannasch
At 9:38 AM -0800 3/7/11, John Rose wrote: >That looks like an old java is being used. Try manually refreshing the >langtools repo to the latestrevision. langtools looks up-to-date to me -- after popping the patch queue a manual pull adds nothing new. also fyi: right now folks can't build the bs

Re: all the jdk/test/java/lang/invoke/ tests are failing

2011-03-07 Thread John Rose
On Mar 7, 2011, at 11:34 AM, Stephen Bannasch wrote: > langtools looks up-to-date to me -- after popping the patch queue a manual > pull adds nothing new. Odd. When you get an error about ([Object)Object not matching some other signature, it's usually because the compiled call sites of invokeE

Re: all the jdk/test/java/lang/invoke/ tests are failing

2011-03-07 Thread Stephen Bannasch
At 11:46 AM -0800 3/7/11, John Rose wrote: >On Mar 7, 2011, at 11:34 AM, Stephen Bannasch wrote: > >>langtools looks up-to-date to me -- after popping the patch queue a manual >>pull adds nothing new. >> > >Odd. When you get an error about ([Object)Object not matching some other >signature, it's