Re: JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-16 Thread Charles Oliver Nutter
On Wed, Aug 10, 2011 at 2:16 PM, Tom Rodriguez wrote: > One thing I we should fix is that the bytecodes of the method handle adapter > shouldn't count against the DesiredMethodLimit, in the same way they don't > count against the inline depth. Yeah, I think I'm hitting that often now that I'm e

Re: JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-10 Thread Tom Rodriguez
>> I guess my concern is that the original (long) version may or may not >> inline, but obviously doesn't degrade as badly. Why does the degraded >> performance of the long form suffer so much? Ruby is a very terse >> language, often resulting in methods that represent a lot of code. I'm >> using i

Re: JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-10 Thread Christian Thalinger
On Aug 10, 2011, at 6:21 PM, Charles Oliver Nutter wrote: > On Wed, Aug 10, 2011 at 9:26 AM, Christian Thalinger > wrote: >> Here are the numbers for JDK 7 b147, 7071307+7071653, and >> 7071307+7071653+7071709: >> >> 7071307: MethodHandle bimorphic inlining should consider the frequency >> 707

Re: JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-10 Thread Charles Oliver Nutter
On Wed, Aug 10, 2011 at 11:21 AM, Charles Oliver Nutter wrote: > I guess my concern is that the original (long) version may or may not > inline, but obviously doesn't degrade as badly. Why does the degraded > performance of the long form suffer so much? Ruby is a very terse > language, often resul

Re: JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-10 Thread Charles Oliver Nutter
On Wed, Aug 10, 2011 at 9:26 AM, Christian Thalinger wrote: > Here are the numbers for JDK 7 b147, 7071307+7071653, and > 7071307+7071653+7071709: > > 7071307: MethodHandle bimorphic inlining should consider the frequency > 7071653: JSR 292: call site change notification should be pushed not pull

Re: JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-10 Thread Christian Thalinger
On Aug 8, 2011, at 8:21 PM, Christian Thalinger wrote: > > On Aug 8, 2011, at 6:39 PM, Charles Oliver Nutter wrote: > >> On Mon, Aug 8, 2011 at 9:51 AM, Christian Thalinger >> wrote: >>> Since I have the basic push-notification of CallSites I'm now looking into >>> push-notification of Switch

Re: JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-08 Thread Christian Thalinger
On Aug 8, 2011, at 6:39 PM, Charles Oliver Nutter wrote: > On Mon, Aug 8, 2011 at 9:51 AM, Christian Thalinger > wrote: >> Since I have the basic push-notification of CallSites I'm now looking into >> push-notification of SwitchPoints: >> >> 7071709: JSR 292: switchpoint invalidation should be

Re: JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-08 Thread Charles Oliver Nutter
On Mon, Aug 8, 2011 at 9:51 AM, Christian Thalinger wrote: > Since I have the basic push-notification of CallSites I'm now looking into > push-notification of SwitchPoints: > > 7071709: JSR 292: switchpoint invalidation should be pushed not pulled > > Basically it should be the same, just needs s

Re: JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-08 Thread Christian Thalinger
On Aug 8, 2011, at 4:01 PM, Rémi Forax wrote: > On 08/08/2011 03:51 PM, Christian Thalinger wrote: >> Since I have the basic push-notification of CallSites I'm now looking into >> push-notification of SwitchPoints: >> >> 7071709: JSR 292: switchpoint invalidation should be pushed not pulled >>

Re: JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-08 Thread Rémi Forax
On 08/08/2011 03:51 PM, Christian Thalinger wrote: > Since I have the basic push-notification of CallSites I'm now looking into > push-notification of SwitchPoints: > > 7071709: JSR 292: switchpoint invalidation should be pushed not pulled > > Basically it should be the same, just needs some addit

JRuby/Seph/PHP.reboot/... SwitchPoint usage

2011-08-08 Thread Christian Thalinger
Since I have the basic push-notification of CallSites I'm now looking into push-notification of SwitchPoints: 7071709: JSR 292: switchpoint invalidation should be pushed not pulled Basically it should be the same, just needs some additional love in the compiler. I looked into JRuby's usage of