RE: JIT and invalidation

2014-02-17 Thread Jeroen Frijters
s; Da Vinci Machine Project > Subject: Re: JIT and invalidation > > On 02/17/2014 08:53 AM, Jeroen Frijters wrote: > > Hi Rémi, > > > > I believe this is not actually safe. There is no guarantee that when > SwitchPoint.invalidateAll() returns that all calls to

Re: JIT and invalidation

2014-02-17 Thread Remi Forax
>> From: mlvm-dev-boun...@openjdk.java.net [mailto:mlvm-dev- >> boun...@openjdk.java.net] On Behalf Of Remi Forax >> Sent: Sunday, February 16, 2014 22:54 >> To: Da Vinci Machine Project >> Subject: JIT and invalidation >> >> Hi John, Hi Christian, Hi all, >&

RE: JIT and invalidation

2014-02-16 Thread Jeroen Frijters
vm-dev- > boun...@openjdk.java.net] On Behalf Of Remi Forax > Sent: Sunday, February 16, 2014 22:54 > To: Da Vinci Machine Project > Subject: JIT and invalidation > > Hi John, Hi Christian, Hi all, > I don't know if you can test this little code, but when I run it on m

Re: JIT and invalidation

2014-02-16 Thread Dain Sundstrom
This is very cool. I have a use for this almost immediately (assuming the performance problems can be fixed). Thanks, -dain On Feb 16, 2014, at 1:54 PM, Remi Forax wrote: > Hi John, Hi Christian, Hi all, > I don't know if you can test this little code, but when I run it on my > laptop (linu

JIT and invalidation

2014-02-16 Thread Remi Forax
Hi John, Hi Christian, Hi all, I don't know if you can test this little code, but when I run it on my laptop (linux 64bits) it can terminate in 45s or 2 minutes, it seems that it depends on the order the JIT compiles the method handles. https://gist.github.com/forax/9041030 Sometimes it also