AnonCL and dynamic invocation

2008-04-27 Thread Charles Oliver Nutter
Additional late-night thoughts about ACL and dynamic invocation. Obviously when I mentioned that in JRuby we'd use ACL to reduce handle generation cost, I neglected to mention that that would only be the case until the actual method handle API lands. That is assuming we'd be able to provide eno

Re: AnonymousClassLoader in JRuby

2008-04-27 Thread Charles Oliver Nutter
Rémi Forax wrote: > I've perhaps found why there is no difference in your test. > I've re-read the code of your ruby Classoader and someting is weird, > the last instruction of the static block should be Some actual numbers now, showing difference. The test instantiates 100k new Ruby methods and

new on the list

2008-04-27 Thread Jochen Theodorou
Hi all, looks like I finally managed to join this list too. And I already have a request to those making the adminitrative part here.. Is it possible to let the mailing list server set a reply-to for the list? That would make things a bit more easy. bye blackdrag -- Jochen "blackdrag" Theodor

Re: AnonymousClassLoader in JRuby

2008-04-27 Thread Charles Oliver Nutter
Rémi Forax wrote: > I've perhaps found why there is no difference in your test. > I've re-read the code of your ruby Classoader and someting is weird, > the last instruction of the static block should be > > ANONYMOUS_SUPPORTED = true; > and not > ANONYMOUS_SUPPORTED = false; Good lord, you're ri

Re: AnonymousClassLoader in JRuby

2008-04-27 Thread Rémi Forax
Charles Oliver Nutter a écrit : > Rémi Forax wrote: >> In my opinion, there is one AnonymousClassloader by host class to >> share security check. > > I'm not sure I see how to use a single java.dyn.AnonymousClassLoader > to load multiple classes, since it seems to want the class bytes on > const

Re: AnonymousClassLoader in JRuby

2008-04-27 Thread Charles Oliver Nutter
Rémi Forax wrote: > In my opinion, there is one AnonymousClassloader by host class to share > security check. I'm not sure I see how to use a single java.dyn.AnonymousClassLoader to load multiple classes, since it seems to want the class bytes on construction. Looking at source now. > Else, wh